From 656c938dcb35facea3f1d5eeb4c0fe5940d35cc1 Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Thu, 2 May 2019 16:51:48 -0700 Subject: [PATCH] test/nvmf: fix a couple of bugs in nvmf.sh 1) nmic is a target test - move it out of the host section 2) don't reset trap until after all tests have run 3) while here, move all of the target-related test together, followed by the host tests Signed-off-by: Jim Harris Change-Id: I73b3c0a8ace0ad65311ab7bb29b6cb08188e3aba Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/452933 Tested-by: SPDK CI Jenkins Reviewed-by: Seth Howell Reviewed-by: Changpeng Liu Reviewed-by: Ben Walker --- test/nvmf/nvmf.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test/nvmf/nvmf.sh b/test/nvmf/nvmf.sh index 1ffdb6c8d..deb4ea47b 100755 --- a/test/nvmf/nvmf.sh +++ b/test/nvmf/nvmf.sh @@ -30,6 +30,10 @@ if [ $RUN_NIGHTLY -eq 1 ]; then run_test suite test/nvmf/multiconnection/multiconnection.sh fi +run_test suite test/nvmf/nmic/nmic.sh +run_test suite test/nvmf/rpc/rpc.sh +run_test suite test/nvmf/fio/fio.sh + timing_enter host run_test suite test/nvmf/host/bdevperf.sh @@ -41,13 +45,10 @@ run_test suite test/nvmf/host/aer.sh if [ $SPDK_RUN_ASAN -eq 0 ]; then run_test suite test/nvmf/host/fio.sh fi -run_test suite test/nvmf/nmic/nmic.sh timing_exit host -trap - SIGINT SIGTERM EXIT -run_test suite test/nvmf/rpc/rpc.sh -run_test suite test/nvmf/fio/fio.sh +trap - SIGINT SIGTERM EXIT revert_soft_roce report_test_completion "nvmf"