diff options
| -rwxr-xr-x | run/tests | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -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 |
