mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Report mismatched file better when diff fails
This commit is contained in:
@@ -28,7 +28,7 @@ startTest () {
|
|||||||
|
|
||||||
tryDiff () {
|
tryDiff () {
|
||||||
if ! diff -u --strip-trailing-cr "$1" "$2"; then
|
if ! diff -u --strip-trailing-cr "$1" "$2"; then
|
||||||
echo "${bold}${red}${i%.asm}.out mismatch!${rescolors}${resbold}"
|
echo "${bold}${red}$1 mismatch!${rescolors}${resbold}"
|
||||||
false
|
false
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user