mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Consistently use LF line endings in expected .out and .err output (#1635)
Test scripts compare files as text
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
FATAL: multiple-else.asm(11):
|
||||
Found ELSE after an ELSE block
|
||||
FATAL: multiple-else.asm(11):
|
||||
Found ELSE after an ELSE block
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
warning: narg-decreases-after-shift.asm(14) -> narg-decreases-after-shift.asm::testing(9): [-Wmacro-shift]
|
||||
Cannot shift macro arguments past their end
|
||||
warning: narg-decreases-after-shift.asm(14) -> narg-decreases-after-shift.asm::testing(9): [-Wmacro-shift]
|
||||
Cannot shift macro arguments past their end
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
warning: strrpl.asm(4): [-Wempty-strrpl]
|
||||
STRRPL: Cannot replace an empty string
|
||||
warning: strrpl.asm(4): [-Wempty-strrpl]
|
||||
STRRPL: Cannot replace an empty string
|
||||
|
||||
@@ -1 +1 @@
|
||||
$A
|
||||
$A
|
||||
|
||||
@@ -30,7 +30,7 @@ RGBASM=../../rgbasm
|
||||
RGBLINK=../../rgblink
|
||||
|
||||
tryDiff () {
|
||||
if ! diff -u --strip-trailing-cr "$1" "$2"; then
|
||||
if ! diff -au --strip-trailing-cr "$1" "$2"; then
|
||||
echo "${bold}${red}${i%.asm}${variant}.$3 mismatch!${rescolors}${resbold}"
|
||||
false
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user