summaryrefslogtreecommitdiffstats
path: root/src/test/run-rbd-valgrind-unit-tests.sh
blob: 46340392323dda25f2ac24620a479efda09e6ec0 (plain)
1
2
3
4
5
6
7
8
9
10
11
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