diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-09-09 22:15:25 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-09-09 22:15:25 +0100 |
| commit | afb6dc005401f6746f3b41643e7e7a828038976c (patch) | |
| tree | bed5c3997f9830ba204067b7883210f52dc54fcc | |
| parent | 78d067f5d4b0ab5784cd372f2758369cee5b66f0 (diff) | |
Ignore .git.
| -rwxr-xr-x | run-tests.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/run-tests.sh b/run-tests.sh index 1a43e09f..e02589b6 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -23,10 +23,12 @@ rm -f build/test/info.log if [ -e "../libdcp-test" ]; then for d in `find ../libdcp-test -mindepth 1 -maxdepth 1 -type d`; do - LD_LIBRARY_PATH=build/src:build/asdcplib/src build/tools/dcpinfo -s $d >> build/test/info.log - if [ "$?" != "0" ]; then - echo "FAIL: dcpinfo failed" - exit 1 + if [ `basename $d` != ".git" ]; then + LD_LIBRARY_PATH=build/src:build/asdcplib/src build/tools/dcpinfo -s $d >> build/test/info.log + if [ "$?" != "0" ]; then + echo "FAIL: dcpinfo failed for $d" + exit 1 + fi fi done else |
