diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-14 20:15:43 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-14 20:15:43 +0000 |
| commit | ed6a471b61d36a3ba7e8696fa3e5606406c5cf62 (patch) | |
| tree | 3ca098925eb269c4cd41ff22124773ba7d36c14b /run-tests.sh | |
| parent | 67cf9c95d190b1f2a67d73c0a7f712e213b6e71a (diff) | |
| parent | 62ee85a258aa9329544d8542dfbcc40ce8177a7a (diff) | |
Merge master
Diffstat (limited to 'run-tests.sh')
| -rwxr-xr-x | run-tests.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/run-tests.sh b/run-tests.sh index 671da919..b9e6d75c 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -11,6 +11,9 @@ if [ "$1" == "--debug" ]; then shift LD_LIBRARY_PATH=build/src:build/asdcplib/src gdb --args build/test/tests +elif [ "$1" == "--valgrind" ]; then + shift + LD_LIBRARY_PATH=build/src:build/asdcplib/src valgrind --tool="memcheck" build/test/tests else LD_LIBRARY_PATH=build/src:build/asdcplib/src build/test/tests fi |
