diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-11-06 20:20:23 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-11-06 20:20:23 +0000 |
| commit | b498722efc903900e264ac820bea08b6a99db3c8 (patch) | |
| tree | 4b97499537e10e1af71a830e8df6ca4e3e7ea7a8 | |
| parent | 46e5114a019a2be34b3d17cc11a0ff994368eedc (diff) | |
Pass parameters to tests so that we can use --log_level and --run_test etc.
| -rwxr-xr-x | run/tests | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -2,10 +2,12 @@ export LD_LIBRARY_PATH=build/src/lib:$LD_LIBRARY_PATH if [ "$1" == "--debug" ]; then - gdb --args build/test/unit-tests --catch_system_errors=no + shift; + gdb --args build/test/unit-tests --catch_system_errors=no $* elif [ "$1" == "--valgrind" ]; then - valgrind --tool="memcheck" --leak-check=full build/test/unit-tests + shift; + valgrind --tool="memcheck" --leak-check=full build/test/unit-tests $* else - build/test/unit-tests --catch_system_errors=no + build/test/unit-tests --catch_system_errors=no $* fi |
