mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Enable RGBGFX's CLI "at-files" for all programs (#1848)
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
-w -m mbc3+ram -r 0
|
||||
The "-w" suppresses "-Wmbc" and "-Woverwrite" warnings
|
||||
# The "-w" suppresses "-Wmbc" and "-Woverwrite" warnings
|
||||
|
||||
@@ -1 +1 @@
|
||||
-m '$2a'
|
||||
-m $2a
|
||||
|
||||
@@ -1 +1 @@
|
||||
-i 'FOUR!'
|
||||
-i FOUR!
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
-Cf h
|
||||
Checks that the header checksum properly accounts for header modifications
|
||||
# Checks that the header checksum properly accounts for header modifications
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
-Wno-overwrite -Cjv -t PM_CRYSTAL -i BYTE -n 0 -k 01 -l 0x33 -m 0x10 -r 3 -p 0
|
||||
Checks that the -Wno-overwrite flag suppresses "Overwrote a non-zero byte" warnings from the rest
|
||||
# Checks that the -Wno-overwrite flag suppresses "Overwrote a non-zero byte" warnings from the rest
|
||||
|
||||
@@ -50,10 +50,14 @@ tryCmp () {
|
||||
}
|
||||
|
||||
runTest () {
|
||||
flags=$(
|
||||
head -n 1 "$2/$1.flags" | # Allow other lines to serve as comments
|
||||
sed "s# ./# ${src//#/\\#}/#g" # Prepend src directory to path arguments
|
||||
)
|
||||
if grep -qF ' ./' "$2/$1.flags"; then
|
||||
flags=$(
|
||||
head -n 1 "$2/$1.flags" | # Allow other lines to serve as comments
|
||||
sed "s# ./# ${src//#/\\#}/#g" # Prepend src directory to path arguments
|
||||
)
|
||||
else
|
||||
flags="@$2/$1.flags"
|
||||
fi
|
||||
|
||||
for variant in '' ' piped' ' output'; do
|
||||
(( tests++ ))
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
-t 0123456789ABCDEF -C
|
||||
Checks that the CGB flag correctly truncates the title to 15 chars only,
|
||||
even when it's specified *after* the title..!
|
||||
# Checks that the CGB flag correctly truncates the title to 15 chars only,
|
||||
# even when it's specified *after* the title..!
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
-C -t 0123456789ABCDEF
|
||||
Checks that the CGB flag correctly truncates the title to 15 chars only
|
||||
# Checks that the CGB flag correctly truncates the title to 15 chars only
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
-t 0123456789ABCDEF -c
|
||||
Checks that the CGB compat flag correctly truncates the title to 15 chars only,
|
||||
even when it's specified *after* the title..!
|
||||
# Checks that the CGB compat flag correctly truncates the title to 15 chars only,
|
||||
# even when it's specified *after* the title..!
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
-c -t 0123456789ABCDEF
|
||||
Checks that the CGB compat flag correctly truncates the title to 15 chars only
|
||||
# Checks that the CGB compat flag correctly truncates the title to 15 chars only
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
-t 0123456789ABCDEF -i rgbd
|
||||
Checks that the game ID flag correctly truncates the title to 11 chars only,
|
||||
even when it's specified *after* the title..!
|
||||
# Checks that the game ID flag correctly truncates the title to 11 chars only,
|
||||
# even when it's specified *after* the title..!
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
-i rgbd -t 0123456789ABCDEF
|
||||
Checks that the game ID flag correctly truncates the title to 11 chars only
|
||||
# Checks that the game ID flag correctly truncates the title to 11 chars only
|
||||
|
||||
@@ -1 +1 @@
|
||||
-t "I LOVE YOU"
|
||||
-t I_LOVE_YOU
|
||||
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
-t "Game Boy dev rox"
|
||||
-t Game_Boy_dev_rox
|
||||
|
||||
Binary file not shown.
@@ -1,2 +1 @@
|
||||
-m MBC1337
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
-vp 69
|
||||
Check that the global checksum is correctly affected by padding:
|
||||
Padding adds extra bytes (carefully picked *not* to be 0, or other values),
|
||||
which must be properly accounted for.
|
||||
# Check that the global checksum is correctly affected by padding:
|
||||
# Padding adds extra bytes (carefully picked *not* to be 0, or other values),
|
||||
# which must be properly accounted for.
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
-f LHG
|
||||
Checks that the global checksum is correctly affected by the header checksum
|
||||
# Checks that the global checksum is correctly affected by the header checksum
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
-v
|
||||
Checks that the global checksum is correctly affected by the header checksum
|
||||
# Checks that the global checksum is correctly affected by the header checksum
|
||||
|
||||
Reference in New Issue
Block a user