diff options
Diffstat (limited to 'run/short-tests')
| -rwxr-xr-x | run/short-tests | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/run/short-tests b/run/short-tests new file mode 100755 index 000000000..4f2567029 --- /dev/null +++ b/run/short-tests @@ -0,0 +1,11 @@ +#!/bin/bash + +export LD_LIBRARY_PATH=build/src/lib:$LD_LIBRARY_PATH +if [ "$1" == "--debug" ]; then + gdb --args build/test/short-unit-tests +elif [ "$1" == "--valgrind" ]; then + valgrind --tool="memcheck" --leak-check=full build/test/short-unit-tests +else + build/test/short-unit-tests +fi + |
