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:
Daniel Verkamp 2017-03-29 13:04:05 -07:00
parent 14cc383fb0
commit df009d7323
3 changed files with 5 additions and 25 deletions

View File

@ -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

View File

@ -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

View File

@ -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