test/iscsi: only run NVMe-oF test when enabled
Check the SPDK_TEST_NVMF flag before running the iscsi_tgt + NVMe-oF host test. Change-Id: I0d545c98f188edefc089fb79e2879d5d307726f5 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/391027 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ziye Yang <optimistyzy@gmail.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
59970a89be
commit
9daf838db0
@ -53,10 +53,13 @@ fi
|
|||||||
trap - SIGINT SIGTERM EXIT
|
trap - SIGINT SIGTERM EXIT
|
||||||
kill_stub
|
kill_stub
|
||||||
|
|
||||||
# TODO: enable remote NVMe controllers with multi-process so that
|
if [ $SPDK_TEST_NVMF -eq 1 ]; then
|
||||||
# we can use the stub for this test
|
# TODO: enable remote NVMe controllers with multi-process so that
|
||||||
#Test configure remote NVMe device from rpc
|
# we can use the stub for this test
|
||||||
run_test ./test/iscsi_tgt/nvme_remote/fio_remote_nvme.sh 0
|
# Test configure remote NVMe device from rpc
|
||||||
#Test configure remote NVMe device from conf file
|
run_test ./test/iscsi_tgt/nvme_remote/fio_remote_nvme.sh 0
|
||||||
run_test ./test/iscsi_tgt/nvme_remote/fio_remote_nvme.sh 1
|
# Test configure remote NVMe device from conf file
|
||||||
|
run_test ./test/iscsi_tgt/nvme_remote/fio_remote_nvme.sh 1
|
||||||
|
fi
|
||||||
|
|
||||||
timing_exit iscsi_tgt
|
timing_exit iscsi_tgt
|
||||||
|
Loading…
Reference in New Issue
Block a user