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