From e6918187568dbd01842d8d1d2c808ce16a894239 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 21 Apr 2024 13:54:28 +0200 Subject: Adding upstream version 18.2.2. Signed-off-by: Daniel Baumann --- src/test/run-rbd-valgrind-unit-tests.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 src/test/run-rbd-valgrind-unit-tests.sh (limited to 'src/test/run-rbd-valgrind-unit-tests.sh') 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 000000000..463403923 --- /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}/qa/valgrind.supp unittest_librbd + +echo OK -- cgit v1.2.3