autotest: remove duplicated unit test invocations

Now that unittest.sh is run as part of the automated tests, drop the
various unit test calls scattered throughout the tree.

Change-Id: Iea98314bb7f04620d72d81d25e24f8e706b50ce1
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2017-01-24 16:18:12 -07:00
parent abfda721cd
commit f3b3fe5b36
10 changed files with 1 additions and 110 deletions

View File

@ -86,14 +86,8 @@ if [ $RUN_NIGHTLY -eq 1 ]; then
run_test test/lib/nvme/hotplug.sh intel
run_test test/lib/nvme/nvmemp.sh
fi
run_test test/lib/nvmf/nvmf.sh
run_test test/lib/env/env.sh
run_test test/lib/ioat/ioat.sh
run_test test/lib/json/json.sh
run_test test/lib/jsonrpc/jsonrpc.sh
run_test test/lib/log/log.sh
run_test test/lib/scsi/scsi.sh
run_test test/lib/util/util.sh
timing_exit lib

View File

@ -8,10 +8,6 @@ source $rootdir/scripts/autotest_common.sh
timing_enter ioat
timing_enter unit
$valgrind $testdir/unit/ioat_ut
timing_exit unit
timing_enter perf
$rootdir/examples/ioat/perf/perf -t 1
timing_exit perf

View File

@ -1,15 +0,0 @@
#!/usr/bin/env bash
set -xe
testdir=$(readlink -f $(dirname $0))
rootdir=$testdir/../../..
source $rootdir/scripts/autotest_common.sh
timing_enter json
$valgrind $testdir/parse/json_parse_ut
$valgrind $testdir/util/json_util_ut
$valgrind $testdir/write/json_write_ut
timing_exit json

View File

@ -1,13 +0,0 @@
#!/usr/bin/env bash
set -xe
testdir=$(readlink -f $(dirname $0))
rootdir=$testdir/../../..
source $rootdir/scripts/autotest_common.sh
timing_enter jsonrpc
$valgrind $testdir/server/jsonrpc_server_ut
timing_exit jsonrpc

View File

@ -1,13 +0,0 @@
#!/usr/bin/env bash
set -xe
testdir=$(readlink -f $(dirname $0))
rootdir=$testdir/../../..
source $rootdir/scripts/autotest_common.sh
timing_enter log
$valgrind $testdir/log_ut
timing_exit log

View File

@ -12,16 +12,6 @@ function linux_iter_pci {
timing_enter nvme
timing_enter unit
$valgrind $testdir/unit/nvme_ns_cmd_c/nvme_ns_cmd_ut
$valgrind $testdir/unit/nvme_c/nvme_ut
$valgrind $testdir/unit/nvme_qpair_c/nvme_qpair_ut
$valgrind $testdir/unit/nvme_ctrlr_c/nvme_ctrlr_ut
$valgrind $testdir/unit/nvme_ctrlr_cmd_c/nvme_ctrlr_cmd_ut
$valgrind $testdir/unit/nvme_pcie_c/nvme_pcie_ut
$valgrind $testdir/unit/nvme_quirks_c/nvme_quirks_ut
timing_exit unit
if [ $RUN_NIGHTLY -eq 1 ]; then
timing_enter aer
$testdir/aer/aer

View File

@ -1,18 +0,0 @@
#!/usr/bin/env bash
set -xe
testdir=$(readlink -f $(dirname $0))
rootdir=$testdir/../../..
source $rootdir/scripts/autotest_common.sh
timing_enter nvmf
timing_enter unit
$valgrind $testdir/request/request_ut
$valgrind $testdir/session/session_ut
$valgrind $testdir/subsystem/subsystem_ut
$valgrind $testdir/direct/direct_ut
timing_exit unit
timing_exit nvmf

View File

@ -1,17 +0,0 @@
#!/usr/bin/env bash
set -xe
testdir=$(readlink -f $(dirname $0))
rootdir=$testdir/../../..
source $rootdir/scripts/autotest_common.sh
timing_enter scsi
$valgrind $testdir/dev/dev_ut
$testdir/init/init_ut
$valgrind $testdir/lun/lun_ut
$testdir/scsi_bdev/scsi_bdev_ut
$valgrind $testdir/scsi_nvme/scsi_nvme_ut
timing_exit scsi

View File

@ -1,14 +0,0 @@
#!/usr/bin/env bash
set -xe
testdir=$(readlink -f $(dirname $0))
rootdir=$testdir/../../..
source $rootdir/scripts/autotest_common.sh
timing_enter util
$valgrind $testdir/bit_array/bit_array_ut
$valgrind $testdir/io_channel/io_channel_ut
timing_exit util

View File

@ -29,6 +29,7 @@ $valgrind test/lib/nvmf/subsystem/subsystem_ut
$valgrind test/lib/nvmf/direct/direct_ut
$valgrind test/lib/scsi/dev/dev_ut
$valgrind test/lib/scsi/init/init_ut
$valgrind test/lib/scsi/lun/lun_ut
$valgrind test/lib/scsi/scsi_bdev/scsi_bdev_ut
$valgrind test/lib/scsi/scsi_nvme/scsi_nvme_ut