diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-21 03:46:49 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-21 03:46:49 +0100 |
| commit | 7183198c4db92a634245ff91ccd49f4bed875b73 (patch) | |
| tree | b9c56c62a741e6cb3c488d7d2ecba20e20490c74 /run/tests | |
| parent | 138aada1a50c6b6e17864f705ce9f18bcd647808 (diff) | |
Remove long tests in favour of full test corpus.
Diffstat (limited to 'run/tests')
| -rwxr-xr-x | run/tests | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/run/tests b/run/tests new file mode 100755 index 000000000..e1686a55c --- /dev/null +++ b/run/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/unit-tests +elif [ "$1" == "--valgrind" ]; then + valgrind --tool="memcheck" --leak-check=full build/test/unit-tests +else + build/test/unit-tests +fi + |
