summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-08-19 21:09:20 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-20 19:29:45 +0200
commit026204a2c818c56fc391ab5b15f0af16b10babab (patch)
treecb71ff270d3f0ab013c3b975353c1ad2444e5a1f
parenta08e7eeac87eca63d250007bd9b89e11b0352108 (diff)
Skip post-test checks if not all unit tests are run.
-rwxr-xr-xrun/tests5
1 files changed, 5 insertions, 0 deletions
diff --git a/run/tests b/run/tests
index acad286f..638b1d61 100755
--- a/run/tests
+++ b/run/tests
@@ -36,6 +36,11 @@ else
fi
fi
+if [ "$*" != "" ]; then
+ echo "Skipping post-test checks as not all unit tests were run."
+ exit 0
+fi
+
# Check a MXF written by the unit tests
diff $work/baz/video1.mxf $work/baz/video2.mxf
if [ "$?" != "0" ]; then