Test alt by default, only dump if output differs
This commit is contained in:
parent
2d6ac83606
commit
382c465e09
@ -3,7 +3,7 @@
|
|||||||
# Run test cases using the media files and the js8 cli decoder
|
# Run test cases using the media files and the js8 cli decoder
|
||||||
|
|
||||||
JS8=~/js8call-prefix/build/js8
|
JS8=~/js8call-prefix/build/js8
|
||||||
#JS8_ALT=/opt/js8call/bin/js8
|
JS8_ALT=/opt/js8call/bin/js8
|
||||||
|
|
||||||
PWD=$(pwd)
|
PWD=$(pwd)
|
||||||
|
|
||||||
@ -32,12 +32,16 @@ do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$JS8_ALT" != "" ]; then
|
if [ "$JS8_ALT" != "" ]; then
|
||||||
echo "--> js8 alt got $OUT_ALT expected $EXPECTED"
|
if [ "$OUT" != "$OUT_ALT" ]; then
|
||||||
echo
|
echo "--> js8 alt got $OUT_ALT expected $EXPECTED"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo
|
||||||
done
|
done
|
||||||
|
|
||||||
echo ---
|
echo ---
|
||||||
|
echo
|
||||||
echo $((pass+fail)) total tests run
|
echo $((pass+fail)) total tests run
|
||||||
echo $pass passed
|
echo $pass passed
|
||||||
echo $fail failed
|
echo $fail failed
|
||||||
|
Loading…
Reference in New Issue
Block a user