2017-05-27 00:05:26 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
testdir=$(readlink -f $(dirname $0))
|
|
|
|
rootdir=$(readlink -f $testdir/../..)
|
2018-02-27 22:14:08 +00:00
|
|
|
source $rootdir/test/common/autotest_common.sh
|
2017-05-27 00:05:26 +00:00
|
|
|
|
|
|
|
if [ ! $(uname -s) = Linux ]; then
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
|
|
|
source $rootdir/test/nvmf/common.sh
|
|
|
|
|
|
|
|
timing_enter nvmf_tgt
|
|
|
|
|
2018-12-03 19:41:07 +00:00
|
|
|
trap "exit 1" SIGINT SIGTERM EXIT
|
2017-05-27 00:13:55 +00:00
|
|
|
|
2018-03-13 05:57:41 +00:00
|
|
|
run_test suite test/nvmf/filesystem/filesystem.sh
|
|
|
|
run_test suite test/nvmf/discovery/discovery.sh
|
2018-07-10 16:32:30 +00:00
|
|
|
if [ $SPDK_TEST_NVME_CLI -eq 1 ]; then
|
2018-03-13 05:57:41 +00:00
|
|
|
run_test suite test/nvmf/nvme_cli/nvme_cli.sh
|
2018-07-10 16:32:30 +00:00
|
|
|
fi
|
2018-03-13 05:57:41 +00:00
|
|
|
run_test suite test/nvmf/lvol/nvmf_lvol.sh
|
|
|
|
run_test suite test/nvmf/shutdown/shutdown.sh
|
2018-08-09 07:06:27 +00:00
|
|
|
run_test suite test/nvmf/bdev_io_wait/bdev_io_wait.sh
|
2018-08-27 22:27:47 +00:00
|
|
|
run_test suite test/nvmf/create_transport/create_transport.sh
|
2017-05-27 00:05:26 +00:00
|
|
|
|
2018-06-05 22:39:16 +00:00
|
|
|
if [ $RUN_NIGHTLY -eq 1 ]; then
|
2018-03-13 05:57:41 +00:00
|
|
|
run_test suite test/nvmf/multiconnection/multiconnection.sh
|
2017-05-27 00:05:26 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
timing_enter host
|
|
|
|
|
2018-03-13 05:57:41 +00:00
|
|
|
run_test suite test/nvmf/host/bdevperf.sh
|
|
|
|
run_test suite test/nvmf/host/identify.sh
|
|
|
|
run_test suite test/nvmf/host/perf.sh
|
2018-05-08 19:54:15 +00:00
|
|
|
# TODO: disabled due to intermittent failures (RDMA_CM_EVENT_UNREACHABLE/ETIMEDOUT)
|
|
|
|
#run_test test/nvmf/host/identify_kernel_nvmf.sh
|
2018-03-13 05:57:41 +00:00
|
|
|
run_test suite test/nvmf/host/aer.sh
|
|
|
|
run_test suite test/nvmf/host/fio.sh
|
2017-05-27 00:05:26 +00:00
|
|
|
|
2018-07-23 06:53:41 +00:00
|
|
|
run_test suite test/nvmf/nmic/nmic.sh
|
|
|
|
|
2017-05-27 00:05:26 +00:00
|
|
|
timing_exit host
|
2017-05-27 00:13:55 +00:00
|
|
|
trap - SIGINT SIGTERM EXIT
|
2017-05-27 00:05:26 +00:00
|
|
|
|
2017-05-27 00:13:55 +00:00
|
|
|
# TODO: enable nvme device detachment for multi-process so that
|
|
|
|
# we can use the stub for this test
|
2018-03-13 05:57:41 +00:00
|
|
|
run_test suite test/nvmf/rpc/rpc.sh
|
|
|
|
run_test suite test/nvmf/fio/fio.sh
|
2017-07-25 19:02:08 +00:00
|
|
|
revert_soft_roce
|
2017-12-18 21:20:41 +00:00
|
|
|
|
|
|
|
report_test_completion "nvmf"
|
2017-05-27 00:05:26 +00:00
|
|
|
timing_exit nvmf_tgt
|