mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Report mismatched file better when diff fails
This commit is contained in:
@@ -28,7 +28,7 @@ startTest () {
|
||||
|
||||
tryDiff () {
|
||||
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
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user