From 98e49fbf5e7d815654c9187db19a91bd8e575336 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 18 Sep 2020 23:40:39 +0200 Subject: [PATCH] Avoid copying a large amount of stuff when running tests. --- run/tests | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/run/tests b/run/tests index 82441321..acad286f 100755 --- a/run/tests +++ b/run/tests @@ -106,13 +106,13 @@ if [ "$?" != "0" ]; then exit 1 fi -# Copy $private into build/ then re-write the subtitles of every DCP using -# $work/rewrite_subs. This tests round-trip of subtitle reading/writing. -# Note that all the subs in $private/metadata are Interop. +# Copy $private/metadata into build/metadata then re-write the subtitles +# of every DCP using $work/rewrite_subs. This tests round-trip of +# subtitle reading/writing. rm -f $work/info2.log rm -rf $work/private mkdir $work/private -cp -r $private/* $work/private +cp -r $private/metadata $work/private/ for d in `find $work/private/metadata -mindepth 1 -maxdepth 1 -type d | sort -f -d`; do if [ `basename $d` != ".git" ]; then $work/rewrite_subs $d -- 2.30.2