summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-09-18 23:40:39 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-18 23:40:45 +0200
commit98e49fbf5e7d815654c9187db19a91bd8e575336 (patch)
tree81d8e5a7b33a8644c82ac5ed35814c07a7fa9369
parent40f6f7d9e8fe6107dff0e5e355b577a2b289e3fa (diff)
Avoid copying a large amount of stuff when running tests.
-rwxr-xr-xrun/tests8
1 files 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