summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-05-03 12:33:44 +0100
committerCarl Hetherington <cth@carlh.net>2014-05-03 12:33:44 +0100
commit671779298e79f8f3bba46156a2b4cdf551b704d1 (patch)
tree4f63ab3759d2c79aa38f4b48cca16fa2bcec8af9
parent3320c7c5ff97b585395beb15ab3f203822fd550e (diff)
Ignore errors from our metadata tests (which don't have picture/sound assets).
-rwxr-xr-xrun/tests5
1 files changed, 3 insertions, 2 deletions
diff --git a/run/tests b/run/tests
index 0bbc047b..6566c55d 100755
--- 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