Ignore errors from our metadata tests (which don't have picture/sound assets).
authorCarl Hetherington <cth@carlh.net>
Sat, 3 May 2014 11:33:44 +0000 (12:33 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 3 May 2014 11:33:44 +0000 (12:33 +0100)
run/tests

index 0bbc047b412e18a7301286ecdfebc76fb21fded7..6566c55d6695ce515719acd26fdafebe642d3a21 100755 (executable)
--- a/run/tests
+++ b/run/tests
@@ -55,7 +55,8 @@ fi
 rm -f $work/info.log
 for d in `find $private/metadata -mindepth 1 -maxdepth 1 -type d | sort`; do
     if [ `basename $d` != ".git" ]; then
-        $dcpinfo -s $d >> $work/info.log
+       echo $d
+        $dcpinfo -k -s $d 2> /dev/null >> $work/info.log
         if [ "$?" != "0" ]; then
             echo "FAIL: dcpinfo failed for $d"
             exit 1
@@ -79,7 +80,7 @@ cp -r $private/* $work/private
 for d in `find $work/private/metadata -mindepth 1 -maxdepth 1 -type d | sort`; do
     if [ `basename $d` != ".git" ]; then
         $work/rewrite_subs $d
-        $dcpinfo -s $d >> $work/info2.log
+        $dcpinfo -k -s $d 2>&1 >> $work/info2.log
     fi
 done