mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Output diffs when binary tests fail
This commit is contained in:
@@ -17,7 +17,7 @@ tryDiff () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tryCmp () {
|
tryCmp () {
|
||||||
cmp $1 $2 || (echo -e "${bold}${red}${i%.asm}${variant}.out.bin mismatch!${rescolors}${resbold}"; false)
|
cmp $1 $2 || (../../contrib/gbdiff.bash $1 $2; echo -e "${bold}${red}${i%.asm}${variant}.out.bin mismatch!${rescolors}${resbold}"; false)
|
||||||
}
|
}
|
||||||
|
|
||||||
for i in *.asm; do
|
for i in *.asm; do
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ tryDiff () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tryCmp () {
|
tryCmp () {
|
||||||
cmp $1 $2 || (echo -e "${bold}${red}${i%.asm}${variant}.out.bin mismatch!${rescolors}${resbold}"; false)
|
cmp $1 $2 || (../../contrib/gbdiff.bash $1 $2; echo -e "${bold}${red}${i%.asm}${variant}.out.bin mismatch!${rescolors}${resbold}"; false)
|
||||||
}
|
}
|
||||||
|
|
||||||
RGBASM=../../rgbasm
|
RGBASM=../../rgbasm
|
||||||
|
|||||||
Reference in New Issue
Block a user