diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-06 20:00:09 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-06 20:00:09 +0100 |
| commit | 5f71c3f0a7a041b3621f7325915d1105424f7e53 (patch) | |
| tree | 869905d8b3696b7990afa503027ea6963c8248d2 | |
| parent | f33cc09ad01f4aa57a09d3bfa23193f357240d45 (diff) | |
Make test corpus compulsory.
| -rwxr-xr-x | run-tests.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/run-tests.sh b/run-tests.sh index 97cb1931..9456273a 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -8,6 +8,11 @@ # if anything is different. # +if [ ! -e "../libdcp-test" ]; then + echo "Test corpus not found" + exit 1 +fi + if [ "$1" == "--debug" ]; then shift LD_LIBRARY_PATH=build/src:build/asdcplib/src gdb --args build/test/tests @@ -32,11 +37,6 @@ fi rm -f build/test/info.log -if [ ! -e "../libdcp-test" ]; then - echo "Test corpus not found" - exit 1 -fi - for d in `find ../libdcp-test -mindepth 1 -maxdepth 1 -type d | sort`; do if [ `basename $d` != ".git" ]; then LD_LIBRARY_PATH=build/src:build/asdcplib/src build/tools/dcpinfo -s $d >> build/test/info.log |
