autotest: Move nvmf's fuzzing outside the main suite
This test is static in nature and not dependent on actual nvmf setup that comes from the CI - everything is driven via a static json config that comes with the test itself. Instead, keep fuzzing directly in autotest.sh, under a top dedicated test flag SPDK_TEST_FUZZER - this should allow users to run only fuzzing part without touching the majority of the nvmf suite. Change-Id: I9c33c46e05f7c4b977b041673fe200d9d2989265 Signed-off-by: Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14287 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Pawel Piatek <pawelx.piatek@intel.com>
This commit is contained in:
parent
044bb17525
commit
c738575823
@ -342,6 +342,12 @@ if [ $SPDK_RUN_FUNCTIONAL_TEST -eq 1 ]; then
|
|||||||
if [[ $SPDK_TEST_SMA -eq 1 ]]; then
|
if [[ $SPDK_TEST_SMA -eq 1 ]]; then
|
||||||
run_test "sma" ./test/sma/sma.sh
|
run_test "sma" ./test/sma/sma.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ $SPDK_TEST_FUZZER -eq 1 ]]; then
|
||||||
|
# TODO: Consider re-using test/fuzz directory for all fuzzing tests with proper
|
||||||
|
# structure, e.g.: test/fuzz/nvmf/*, test/fuzz/vfio/*, etc.
|
||||||
|
run_test "nvmf_llvm_fuzz" test/nvmf/target/llvm_nvme_fuzz.sh
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
timing_enter cleanup
|
timing_enter cleanup
|
||||||
|
@ -13,10 +13,6 @@ trap "exit 1" SIGINT SIGTERM EXIT
|
|||||||
|
|
||||||
TEST_ARGS=("$@")
|
TEST_ARGS=("$@")
|
||||||
|
|
||||||
if [[ $SPDK_TEST_FUZZER -eq 1 ]]; then
|
|
||||||
run_test "nvmf_llvm_fuzz" test/nvmf/target/llvm_nvme_fuzz.sh "${TEST_ARGS[@]}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ $SPDK_TEST_URING -eq 0 ]]; then
|
if [[ $SPDK_TEST_URING -eq 0 ]]; then
|
||||||
run_test "nvmf_example" test/nvmf/target/nvmf_example.sh "${TEST_ARGS[@]}"
|
run_test "nvmf_example" test/nvmf/target/nvmf_example.sh "${TEST_ARGS[@]}"
|
||||||
run_test "nvmf_filesystem" test/nvmf/target/filesystem.sh "${TEST_ARGS[@]}"
|
run_test "nvmf_filesystem" test/nvmf/target/filesystem.sh "${TEST_ARGS[@]}"
|
||||||
|
Loading…
Reference in New Issue
Block a user