mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
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:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user