test/iscsi: move iSCSI unit tests to unittest.sh
Change-Id: I19f3f5485bfbf3dec275acddbc45786f76cd4198 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
14cc383fb0
commit
df009d7323
@ -138,8 +138,6 @@ if [ $(uname -s) = Linux ] && [ $SPDK_TEST_ISCSI -eq 1 ]; then
|
||||
run_test ./test/iscsi_tgt/rbd/rbd.sh
|
||||
run_test ./test/iscsi_tgt/nvme_remote/fio_remote_nvme.sh
|
||||
timing_exit iscsi_tgt
|
||||
|
||||
run_test test/lib/iscsi/iscsi.sh
|
||||
fi
|
||||
|
||||
if [ $SPDK_TEST_BLOBFS -eq 1 ]; then
|
||||
|
@ -1,23 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
testdir=$(readlink -f $(dirname $0))
|
||||
rootdir="$testdir/../../.."
|
||||
source $rootdir/scripts/autotest_common.sh
|
||||
|
||||
timing_enter iscsi
|
||||
|
||||
timing_enter param
|
||||
$testdir/param/param_ut
|
||||
timing_exit param
|
||||
|
||||
timing_enter target_node
|
||||
$testdir/target_node/target_node_ut $testdir/target_node/target_node.conf
|
||||
timing_exit target_node
|
||||
|
||||
timing_enter pdu
|
||||
$testdir/pdu/pdu
|
||||
timing_exit pdu
|
||||
|
||||
timing_exit iscsi
|
@ -43,6 +43,11 @@ $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
|
||||
|
||||
# TODO: fix valgrind warnings and add $valgrind to iSCSI tests
|
||||
test/lib/iscsi/param/param_ut
|
||||
test/lib/iscsi/target_node/target_node_ut test/lib/iscsi/target_node/target_node.conf
|
||||
test/lib/iscsi/pdu/pdu
|
||||
|
||||
$valgrind test/lib/util/bit_array/bit_array_ut
|
||||
$valgrind test/lib/util/io_channel/io_channel_ut
|
||||
$valgrind test/lib/util/string/string_ut
|
||||
|
Loading…
Reference in New Issue
Block a user