From 382c465e096557c80cf76c8890358fe4ab3325ca Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Sat, 2 May 2020 14:51:26 -0400 Subject: [PATCH] Test alt by default, only dump if output differs --- media/tests/test | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/media/tests/test b/media/tests/test index 85c403e..aca0203 100755 --- a/media/tests/test +++ b/media/tests/test @@ -3,7 +3,7 @@ # Run test cases using the media files and the js8 cli decoder JS8=~/js8call-prefix/build/js8 -#JS8_ALT=/opt/js8call/bin/js8 +JS8_ALT=/opt/js8call/bin/js8 PWD=$(pwd) @@ -32,12 +32,16 @@ do fi if [ "$JS8_ALT" != "" ]; then - echo "--> js8 alt got $OUT_ALT expected $EXPECTED" - echo + if [ "$OUT" != "$OUT_ALT" ]; then + echo "--> js8 alt got $OUT_ALT expected $EXPECTED" + fi fi + + echo done echo --- +echo echo $((pass+fail)) total tests run echo $pass passed echo $fail failed