autotest.sh: only run rbd_setup if SPDK_TEST_RBD is set
Change-Id: Ia5148eee639179f53ae15e1edd71e96675d7fe9b Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/392196 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
102746245e
commit
de76de1e99
@ -71,9 +71,11 @@ timing_enter nvmf_setup
|
|||||||
rdma_device_init
|
rdma_device_init
|
||||||
timing_exit nvmf_setup
|
timing_exit nvmf_setup
|
||||||
|
|
||||||
|
if [ $SPDK_TEST_RBD -eq 1 ]; then
|
||||||
timing_enter rbd_setup
|
timing_enter rbd_setup
|
||||||
rbd_setup
|
rbd_setup
|
||||||
timing_exit rbd_setup
|
timing_exit rbd_setup
|
||||||
|
fi
|
||||||
|
|
||||||
#####################
|
#####################
|
||||||
# Unit Tests
|
# Unit Tests
|
||||||
@ -173,7 +175,9 @@ if [ $SPDK_TEST_NVML -eq 1 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
timing_enter cleanup
|
timing_enter cleanup
|
||||||
|
if [ $SPDK_TEST_RBD -eq 1 ]; then
|
||||||
rbd_cleanup
|
rbd_cleanup
|
||||||
|
fi
|
||||||
./scripts/setup.sh reset
|
./scripts/setup.sh reset
|
||||||
if [ $SPDK_BUILD_IOAT_KMOD -eq 1 ]; then
|
if [ $SPDK_BUILD_IOAT_KMOD -eq 1 ]; then
|
||||||
./scripts/build_kmod.sh clean
|
./scripts/build_kmod.sh clean
|
||||||
|
Loading…
Reference in New Issue
Block a user