diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-03-18 13:15:24 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-03-18 13:15:24 +0000 |
| commit | 8af7b48d8831cf348163a2f61c14b059cd67a8fd (patch) | |
| tree | b43664bcaa3836b1496ec42e31563ad20b51edc9 /run | |
| parent | 6e72e1d36f23a4236c4677f22792a6a4590943a3 (diff) | |
Remove submodule of test/private as submodules don't seem to work too well with git-annex.
Diffstat (limited to 'run')
| -rwxr-xr-x | run/tests | 21 |
1 files changed, 12 insertions, 9 deletions
@@ -22,8 +22,11 @@ else $work/tests $* fi -if [ ! -e "test/private/info.log" ]; then - echo "Private data not found: some tests will not run" +# Check a MXF written by the unit tests +diff $work/baz/video1.mxf $work/baz/video2.mxf +if [ "$?" != "0" ]; then + echo "FAIL: MXFs from recovery incorrect" + exit 1 fi # Check the first DCP written by the unit tests @@ -39,6 +42,13 @@ if [ "$?" != "0" ]; then echo "FAIL: files differ" exit 1 fi + +# Everything beyond this point needs $private to exist +if [ ! -e "$private/info.log" ]; then + echo "" + echo "Private data not found: some tests will not run." + exit 1 +fi # Run dcpinfo on all the DCPs in private/metadata, writing $work/info.log rm -f $work/info.log @@ -85,11 +95,4 @@ fi # and check that they are right build/tools/dcpinfo -s $private/JourneyToJah_TLR-1_F_EN-DE-FR_CH_51_2K_LOK_20140225_DGL_SMPTE_OV >> $work/jah.log -# Check a MXF written by the unit tests -diff $work/baz/video1.mxf $work/baz/video2.mxf -if [ "$?" != "0" ]; then - echo "FAIL: MXFs from recovery incorrect" - exit 1 -fi - echo "PASS" |
