diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-13 23:55:59 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-13 23:55:59 +0000 |
| commit | d14bbc2088ed9c0f9d77f15cb943968a70bb8198 (patch) | |
| tree | 5c1c766d3e82de3139710d76618293d610145f63 /run-tests.sh | |
Initial.
Diffstat (limited to 'run-tests.sh')
| -rwxr-xr-x | run-tests.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/run-tests.sh b/run-tests.sh new file mode 100755 index 0000000..fda9bd3 --- /dev/null +++ b/run-tests.sh @@ -0,0 +1,8 @@ +#!/bin/bash -e + +if [ "$1" == "--debug" ]; then + shift + LD_LIBRARY_PATH=build/src:build/asdcplib/src gdb --args build/test/tests +else + LD_LIBRARY_PATH=build/src:build/asdcplib/src build/test/tests +fi |
