summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-09-03 12:05:55 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-21 21:57:18 +0200
commit4aad2db751489fb2f81224cc95fcce4ff306d25b (patch)
treee5cf092a301147d31c7d5e90624c4fa5562a1ca4
parent9fae2e5ab328e28c585049b8a6acc2195cb26792 (diff)
Run dcpverify on everything in the libdcp-test-private metadata set.
-rwxr-xr-xrun/tests14
1 files changed, 13 insertions, 1 deletions
diff --git a/run/tests b/run/tests
index 9cd380c8..1b71d5f0 100755
--- a/run/tests
+++ b/run/tests
@@ -6,8 +6,9 @@
private=../libdcp-test-private
# Work directory
work=build/test
-# Path to dcpinfo tool
+# Path to tools
dcpinfo=build/tools/dcpinfo
+dcpverify=build/tools/dcpverify
export LD_LIBRARY_PATH=build/src:/home/c.hetherington/lib:$LD_LIBRARY_PATH
@@ -106,6 +107,17 @@ for d in `find $private/metadata -mindepth 1 -maxdepth 1 -type d | sort -f -d`;
fi
done
+# Run dcpverify on all the DCPs in private/metadata
+for d in `find $private/metadata -mindepth 1 -maxdepth 1 -type d | sort -f -d`; do
+ if [ `basename $d` != ".git" ]; then
+ $dcpverify --ignore-missing-assets -q $d
+ if [ "$?" != "0" ]; then
+ echo "FAIL: dcpverify failed for $d"
+ exit 1
+ fi
+ fi
+done
+
# Check info.log is what it should be
diff -q $work/info.log $private/info.log
if [ "$?" != "0" ]; then