Fix diffing bin files in RGBASM tests

This commit is contained in:
ISSOtm
2020-02-09 13:58:47 +01:00
parent 7903c14993
commit 579a324ce7

View File

@@ -58,9 +58,7 @@ for i in *.asm; do
if [ -f $bin ]; then if [ -f $bin ]; then
../../rgblink -o $gb $o > $output 2>&1 ../../rgblink -o $gb $o > $output 2>&1
dd if=$gb count=1 bs=$(printf %s $(wc -c < $bin)) > $output 2>/dev/null dd if=$gb count=1 bs=$(printf %s $(wc -c < $bin)) > $output 2>/dev/null
hexdump -C $output > $input && mv $input $output tryCmp $bin $output
hexdump -C $bin > $input
tryCmp $input $output
our_rc=$(($? || $our_rc)) our_rc=$(($? || $our_rc))
fi fi