Skip to content

Commit

Permalink
tests: add run-rbd-valgrind-unit-tests.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 5534faa)
  • Loading branch information
Jason Dillaman committed Jul 17, 2015
1 parent e690907 commit 97ff6cb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/test/run-rbd-valgrind-unit-tests.sh
@@ -0,0 +1,11 @@
#!/bin/bash -ex

# this should be run from the src directory in the ceph.git

CEPH_SRC=$(pwd)
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$CEPH_SRC/.libs"
PATH="$CEPH_SRC:$PATH"

RBD_FEATURES=13 valgrind --tool=memcheck --leak-check=full --suppressions=valgrind.supp unittest_librbd

echo OK

0 comments on commit 97ff6cb

Please sign in to comment.