Test alt by default, only dump if output differs

This commit is contained in:
Jordan Sherer 2020-05-02 14:51:26 -04:00
parent 2d6ac83606
commit 382c465e09

View File

@ -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