Various updates to test reference files; mostly small changes after 12-bit support.
[dcpomatic.git] / run / tests
1 #!/bin/bash
2 #
3 # e.g. --run_tests=foo
4
5 export LD_LIBRARY_PATH=build/src/lib:$LD_LIBRARY_PATH
6 if [ "$1" == "--debug" ]; then
7     shift;
8     gdb --args build/test/unit-tests --catch_system_errors=no $*
9 elif [ "$1" == "--valgrind" ]; then
10     shift;
11     valgrind --tool="memcheck" --leak-check=full build/test/unit-tests $*
12 else
13     build/test/unit-tests --catch_system_errors=no $* 3>&1 1>&2 2>&3 | grep -v "No accelerated colorspace conversion" | grep -v "full chroma interpolation"
14 fi
15