mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-21 03:22:01 +00:00
Fix diffing bin files in RGBASM tests
This commit is contained in:
1 parent
7903c14993
commit
579a324ce7
1 file changed
+1
-3
+1
-3
@@ -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