diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-08-11 22:52:47 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-08-11 22:52:47 +0100 |
| commit | bc09fbc79580f56c93e35de25230af18b30e0e1e (patch) | |
| tree | 8e640910c78d04b4e234668c7d8c7f1feac60873 /run-tests.sh | |
| parent | 2cd9086c95686117ffbce92188d50d525ed488bb (diff) | |
Access sound asset sampling rate, channels; access sound asset from DCP; fix bad cast to float.
Diffstat (limited to 'run-tests.sh')
| -rwxr-xr-x | run-tests.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/run-tests.sh b/run-tests.sh index f9ef16f9..8873a3e9 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Runs our test suite, which builds a DCP. @@ -7,7 +7,12 @@ # if anything is different. # -LD_LIBRARY_PATH=build/src:build/asdcplib/src build/test/tests +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 diff -ur test/ref/DCP build/test/foo if [ "$?" != "0" ]; then echo "FAIL: files differ" |
