Avoid the need to repeat -Weverything in test .flags

This commit is contained in:
Rangi42
2025-08-11 08:11:32 -04:00
parent 978e832914
commit 7ade3e74b3
10 changed files with 10 additions and 10 deletions

View File

@@ -1 +1 @@
-Weverything -DFOO=hello -DDEFINED -DFOO=hello -DDEFINED

View File

@@ -1 +1 @@
-Weverything -X 1 -X 1

View File

@@ -1 +1 @@
-Weverything -M /dev/null -MG -M /dev/null -MG

View File

@@ -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

View File

@@ -1 +1 @@
-Weverything -Wtruncation=99 -Wtruncation=99

View File

@@ -1 +1 @@
-Weverything -X 1 -X 1

View File

@@ -1 +1 @@
-Weverything -b oO -b oO

View File

@@ -1 +1 @@
-Weverything -g pqrs -g pqrs

View File

@@ -1 +1 @@
-Weverything -P preinclude-1.inc -P preinclude-2.inc -P preinclude-1.inc -P preinclude-2.inc

View File

@@ -64,7 +64,7 @@ for i in *.asm notexist.asm; do
flags=${i%.asm}.flags flags=${i%.asm}.flags
RGBASMFLAGS=-Weverything RGBASMFLAGS=-Weverything
if [ -f "$flags" ]; then 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 fi
for variant in '' ' piped'; do for variant in '' ' piped'; do
(( tests++ )) (( tests++ ))