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:
parent
abfda721cd
commit
f3b3fe5b36
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
||||
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user