Skip post-test checks if not all unit tests are run.
authorCarl Hetherington <cth@carlh.net>
Wed, 19 Aug 2020 19:09:20 +0000 (21:09 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 20 Sep 2020 17:29:45 +0000 (19:29 +0200)
run/tests

index acad286fa239cf1478e74fa05f30f6442d868c91..638b1d612ded3d5d04b538a274c9671a619cd945 100755 (executable)
--- 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