From 43db4eff70602af398342a3745dec5fc4115afd0 Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Mon, 3 Jun 2019 12:30:05 -0700 Subject: [PATCH] test/nvmf: add ARGS to nvmf.sh Right now this is empty, but we'll add to it later as part of parameterizing this script for different transports. Signed-off-by: Jim Harris Change-Id: Icf0f67ce4dd886031c37986b352129d3c556bd92 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/456684 Tested-by: SPDK CI Jenkins Reviewed-by: Seth Howell Reviewed-by: Darek Stojaczyk Reviewed-by: Ben Walker --- test/nvmf/nvmf.sh | 44 +++++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/test/nvmf/nvmf.sh b/test/nvmf/nvmf.sh index 5a42552154..5a28ba2a9f 100755 --- a/test/nvmf/nvmf.sh +++ b/test/nvmf/nvmf.sh @@ -13,39 +13,41 @@ timing_enter nvmf_tgt trap "exit 1" SIGINT SIGTERM EXIT -run_test suite test/nvmf/target/filesystem.sh -run_test suite test/nvmf/target/discovery.sh -run_test suite test/nvmf/target/connect_disconnect.sh +TEST_ARGS= + +run_test suite test/nvmf/target/filesystem.sh $TEST_ARGS +run_test suite test/nvmf/target/discovery.sh $TEST_ARGS +run_test suite test/nvmf/target/connect_disconnect.sh $TEST_ARGS if [ $SPDK_TEST_NVME_CLI -eq 1 ]; then - run_test suite test/nvmf/target/nvme_cli.sh + run_test suite test/nvmf/target/nvme_cli.sh $TEST_ARGS fi -run_test suite test/nvmf/target/nvmf_lvol.sh +run_test suite test/nvmf/target/nvmf_lvol.sh $TEST_ARGS #TODO: disabled due to intermittent failures. Need to triage. -# run_test suite test/nvmf/target/srq_overwhelm.sh -run_test suite test/nvmf/target/nvmf_vhost.sh -run_test suite test/nvmf/target/shutdown.sh -run_test suite test/nvmf/target/bdev_io_wait.sh -run_test suite test/nvmf/target/create_transport.sh +# run_test suite test/nvmf/target/srq_overwhelm.sh $TEST_ARGS +run_test suite test/nvmf/target/nvmf_vhost.sh $TEST_ARGS +run_test suite test/nvmf/target/shutdown.sh $TEST_ARGS +run_test suite test/nvmf/target/bdev_io_wait.sh $TEST_ARGS +run_test suite test/nvmf/target/create_transport.sh $TEST_ARGS if [ $RUN_NIGHTLY -eq 1 ]; then - run_test suite test/nvmf/target/multiconnection.sh + run_test suite test/nvmf/target/multiconnection.sh $TEST_ARGS fi -run_test suite test/nvmf/target/nmic.sh -run_test suite test/nvmf/target/rpc.sh -run_test suite test/nvmf/target/fio.sh -run_test suite test/nvmf/target/bdevio.sh +run_test suite test/nvmf/target/nmic.sh $TEST_ARGS +run_test suite test/nvmf/target/rpc.sh $TEST_ARGS +run_test suite test/nvmf/target/fio.sh $TEST_ARGS +run_test suite test/nvmf/target/bdevio.sh $TEST_ARGS timing_enter host -run_test suite test/nvmf/host/bdevperf.sh -run_test suite test/nvmf/host/identify.sh -run_test suite test/nvmf/host/perf.sh +run_test suite test/nvmf/host/bdevperf.sh $TEST_ARGS +run_test suite test/nvmf/host/identify.sh $TEST_ARGS +run_test suite test/nvmf/host/perf.sh $TEST_ARGS # TODO: disabled due to intermittent failures (RDMA_CM_EVENT_UNREACHABLE/ETIMEDOUT) -#run_test test/nvmf/host/identify_kernel_nvmf.sh -run_test suite test/nvmf/host/aer.sh +#run_test test/nvmf/host/identify_kernel_nvmf.sh $TEST_ARGS +run_test suite test/nvmf/host/aer.sh $TEST_ARGS if [ $SPDK_RUN_ASAN -eq 0 ]; then - run_test suite test/nvmf/host/fio.sh + run_test suite test/nvmf/host/fio.sh $TEST_ARGS fi timing_exit host