projects
/
dcpomatic.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
e1686a55cac84eff6af6f3f06ed2b321ace805d7
[dcpomatic.git]
/
run
/
tests
1
#!/bin/bash
2
3
export LD_LIBRARY_PATH=build/src/lib:$LD_LIBRARY_PATH
4
if [ "$1" == "--debug" ]; then
5
gdb --args build/test/unit-tests
6
elif [ "$1" == "--valgrind" ]; then
7
valgrind --tool="memcheck" --leak-check=full build/test/unit-tests
8
else
9
build/test/unit-tests
10
fi
11