Bump libcxml.
[libdcp.git] / run / bench
1 #!/bin/bash
2
3 # Private test data; this is stuff that is non-distributable
4 private=../libdcp1-test-private
5
6 export LD_LIBRARY_PATH=build/src:build/asdcplib/src:$LD_LIBRARY_PATH
7 if [ "$1" == "--debug" ]; then
8     shift
9     gdb --args build/test/bench $private
10 elif [ "$1" == "--valgrind" ]; then
11     shift
12     valgrind --tool="memcheck" build/test/bench $private
13 elif [ "$1" == "--callgrind" ]; then
14     shift
15     valgrind --tool="callgrind" build/test/bench $private
16 else
17     build/test/bench $private
18 fi