From 4aad2db751489fb2f81224cc95fcce4ff306d25b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 3 Sep 2020 12:05:55 +0200 Subject: Run dcpverify on everything in the libdcp-test-private metadata set. --- run/tests | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'run') 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 -- cgit v1.2.3