diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-09-03 12:05:42 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-21 21:57:18 +0200 |
| commit | 9fae2e5ab328e28c585049b8a6acc2195cb26792 (patch) | |
| tree | d0c57368cb17f11df34f948fb7379060bcc84a0d | |
| parent | d08c4f071394efd6e4cb11417ea1abc6216cfc46 (diff) | |
Tidy up test output slightly.
| -rwxr-xr-x | run/tests | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |
