~libbls/libbls/libbls-package

« back to all changes in this revision

Viewing changes to test/valgrind_test.sh

  • Committer: Alexandros Frantzis
  • Date: 2011-10-01 10:10:46 UTC
  • Revision ID: alf82@freemail.gr-20111001101046-etz52jurwzwc007x
Tags: upstream-0.3.2
ImportĀ upstreamĀ versionĀ 0.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# Run test in valgrind.
 
4
 
 
5
BUILD_DIR=../build/visibility-public
 
6
 
 
7
if [ ! -f $BUILD_DIR/bindings/_libbls.so ]; then
 
8
        echo "You need to run './waf test' first to build the test infrastructure."
 
9
        exit
 
10
fi
 
11
 
 
12
LD_LIBRARY_PATH=$BUILD_DIR/src PYTHONPATH=$BUILD_DIR/bindings valgrind --leak-check=full python $1