mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Avoid the need to repeat -Weverything in test .flags
This commit is contained in:
@@ -1 +1 @@
|
||||
-Weverything -DFOO=hello -DDEFINED
|
||||
-DFOO=hello -DDEFINED
|
||||
|
||||
@@ -1 +1 @@
|
||||
-Weverything -X 1
|
||||
-X 1
|
||||
|
||||
@@ -1 +1 @@
|
||||
-Weverything -M /dev/null -MG
|
||||
-M /dev/null -MG
|
||||
|
||||
@@ -1 +1 @@
|
||||
-Weverything -P include-slash.inc -I include -P include-slash-nonexist.inc
|
||||
-P include-slash.inc -I include -P include-slash-nonexist.inc
|
||||
|
||||
@@ -1 +1 @@
|
||||
-Weverything -Wtruncation=99
|
||||
-Wtruncation=99
|
||||
|
||||
@@ -1 +1 @@
|
||||
-Weverything -X 1
|
||||
-X 1
|
||||
|
||||
@@ -1 +1 @@
|
||||
-Weverything -b oO
|
||||
-b oO
|
||||
|
||||
@@ -1 +1 @@
|
||||
-Weverything -g pqrs
|
||||
-g pqrs
|
||||
|
||||
@@ -1 +1 @@
|
||||
-Weverything -P preinclude-1.inc -P preinclude-2.inc
|
||||
-P preinclude-1.inc -P preinclude-2.inc
|
||||
|
||||
@@ -64,7 +64,7 @@ for i in *.asm notexist.asm; do
|
||||
flags=${i%.asm}.flags
|
||||
RGBASMFLAGS=-Weverything
|
||||
if [ -f "$flags" ]; then
|
||||
RGBASMFLAGS="$(head -n 1 "$flags")" # Allow other lines to serve as comments
|
||||
RGBASMFLAGS="$RGBASMFLAGS $(head -n 1 "$flags")" # Allow other lines to serve as comments
|
||||
fi
|
||||
for variant in '' ' piped'; do
|
||||
(( tests++ ))
|
||||
|
||||
Reference in New Issue
Block a user