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 | |
| parent | 6e72e1d36f23a4236c4677f22792a6a4590943a3 (diff) | |
Remove submodule of test/private as submodules don't seem to work too well with git-annex.
| -rwxr-xr-x | run/tests | 21 | ||||
| m--------- | test/private | 0 | ||||
| -rw-r--r-- | test/test.cc | 2 |
3 files changed, 13 insertions, 10 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" diff --git a/test/private b/test/private deleted file mode 160000 -Subproject b1b56652bd67e74817e02933412190b33d4823b diff --git a/test/test.cc b/test/test.cc index c58966f4..0f60e0f1 100644 --- a/test/test.cc +++ b/test/test.cc @@ -46,5 +46,5 @@ wav (libdcp::Channel) return "test/data/1s_24-bit_48k_silence.wav"; } -string private_test = "test/private"; +string private_test = "../libdcp-test-private"; |
