summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-09-03 12:05:42 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-21 21:57:18 +0200
commit9fae2e5ab328e28c585049b8a6acc2195cb26792 (patch)
treed0c57368cb17f11df34f948fb7379060bcc84a0d
parentd08c4f071394efd6e4cb11417ea1abc6216cfc46 (diff)
Tidy up test output slightly.
-rwxr-xr-xrun/tests8
1 files changed, 5 insertions, 3 deletions
diff --git a/run/tests b/run/tests
index 638b1d61..9cd380c8 100755
--- a/run/tests
+++ b/run/tests
@@ -16,6 +16,8 @@ for c in xmlsec1 xmldiff xmllint; do
hash $c 2>/dev/null || { echo >&2 "$c required but not found; aborting"; exit 1; }
done
+echo "--- Unit tests"
+
# Run the unit tests in test/
if [ "$1" == "--debug" ]; then
shift
@@ -27,9 +29,7 @@ elif [ "$1" == "--callgrind" ]; then
shift
valgrind --tool="callgrind" $work/tests $private $*
else
- # This gives a warning from newer boost versions but doing it
- # as $work/tests $* -- $private fails on older boost versions.
- $work/tests $private $*
+ $work/tests $* -- $private
if [ "$?" != "0" ]; then
echo "FAIL: unit tests"
exit 1
@@ -41,6 +41,8 @@ if [ "$*" != "" ]; then
exit 0
fi
+echo "--- Other tests"
+
# Check a MXF written by the unit tests
diff $work/baz/video1.mxf $work/baz/video2.mxf
if [ "$?" != "0" ]; then