diff options
Diffstat (limited to 'src/test/run-rbd-valgrind-unit-tests.sh')
-rwxr-xr-x | src/test/run-rbd-valgrind-unit-tests.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/run-rbd-valgrind-unit-tests.sh b/src/test/run-rbd-valgrind-unit-tests.sh new file mode 100755 index 00000000..da2f00d0 --- /dev/null +++ b/src/test/run-rbd-valgrind-unit-tests.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +set -ex + +# this should be run from the src directory in the ceph.git (when built with +# automake) or cmake build directory + +source $(dirname $0)/detect-build-env-vars.sh + +RBD_FEATURES=13 valgrind --tool=memcheck --leak-check=full --error-exitcode=1 \ + --suppressions=${CEPH_ROOT}/src/valgrind.supp unittest_librbd + +echo OK |