mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Fix diffing bin files in RGBASM tests
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user