From afb6dc005401f6746f3b41643e7e7a828038976c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 9 Sep 2012 22:15:25 +0100 Subject: Ignore .git. --- run-tests.sh | 10 ++++++---- 1 file 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 -- cgit v1.2.3