Do not run .pipe tests if the normal variant fails

They'll most likely fail as well, just adding redundant error output
This commit is contained in:
ISSOtm
2020-01-21 00:27:28 +01:00
parent c05334dfc1
commit 56d5f1588a

View File

@@ -38,9 +38,9 @@ for i in *.asm; do
fi fi
diff -u --strip-trailing-cr $desired_output $output diff -u --strip-trailing-cr $desired_output $output
rc=$(($? || $rc)) our_rc=$?
diff -u --strip-trailing-cr $desired_errput $errput diff -u --strip-trailing-cr $desired_errput $errput
rc=$(($? || $rc)) our_rc=$(($? || $our_rc))
bin=${i%.asm}.out.bin bin=${i%.asm}.out.bin
if [ -f $bin ]; then if [ -f $bin ]; then
@@ -49,8 +49,11 @@ for i in *.asm; do
hexdump -C $output > $input && mv $input $output hexdump -C $output > $input && mv $input $output
hexdump -C $bin > $input hexdump -C $bin > $input
diff -u --strip-trailing-cr $input $output diff -u --strip-trailing-cr $input $output
rc=$(($? || $rc)) our_rc=$(($? || $our_rc))
fi fi
rc=$(($rc || $our_rc))
if [ $our_rc -ne 0 ]; then break; fi
done done
done done