Skip to content

Commit 4d57f4b

Browse files
committed
Add -Wall to Bennet CI tests
1 parent ae4c208 commit 4d57f4b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/cn-test-gen/run-single-test.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@ TEST=$1
99
cd "$DIRNAME" || exit
1010

1111
# For stricter CI
12-
export CPPFLAGS="${CPPFLAGS} -Werror"
12+
export CPPFLAGS="${CPPFLAGS} \
13+
-Werror \
14+
-Wall \
15+
-Wno-unused-variable \
16+
-Wno-unused-but-set-variable \
17+
-Wno-unused-label \
18+
-Wno-unused-function"
1319

1420
# For sanitizers
1521
export UBSAN_OPTIONS=halt_on_error=1

0 commit comments

Comments
 (0)