blob: b9af0f5e715a45b0839a24aeacf4ddc27cdf515b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/bash
#
# e.g. --run_tests=foo
export LD_LIBRARY_PATH=build/src/lib:$LD_LIBRARY_PATH
if [ "$1" == "--debug" ]; then
shift;
gdb --args build/test/unit-tests --catch_system_errors=no $*
elif [ "$1" == "--valgrind" ]; then
shift;
valgrind --tool="memcheck" --leak-check=full build/test/unit-tests $*
else
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"
fi
|