test: disable RBD and PMDK tests if not installed
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Id3152f911a9a1fb4b3ac9d8be56570a665c079f1 Reviewed-on: https://review.gerrithub.io/414281 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
48738e383d
commit
f007d46c5a
@ -21,6 +21,15 @@ if [[ ! -z $1 ]]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# If certain utilities are not installed, preemptively disable the tests
|
||||
if ! hash ceph; then
|
||||
SPDK_TEST_RBD=0
|
||||
fi
|
||||
|
||||
if ! hash pmempool; then
|
||||
SPDK_TEST_PMDK=0
|
||||
fi
|
||||
|
||||
# Set defaults for missing test config options
|
||||
: ${SPDK_BUILD_DOC=1}; export SPDK_BUILD_DOC
|
||||
: ${SPDK_RUN_CHECK_FORMAT=1}; export SPDK_RUN_CHECK_FORMAT
|
||||
|
Loading…
x
Reference in New Issue
Block a user