Skip to content

Commit 145b74d

Browse files
committed
[CI] Add -Wall to Bennet and Darcy tests
1 parent f0aa212 commit 145b74d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/run-cn-test-gen.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,12 @@ def main():
198198

199199
# Set environment variables for stricter CI and sanitizers
200200
env = os.environ.copy()
201-
env['CPPFLAGS'] = env.get('CPPFLAGS', '') + ' -Werror -Wno-unused-value'
201+
env['CPPFLAGS'] = ' '.join([env.get('CPPFLAGS', ''), '-Werror', '-Wall',
202+
'-Wno-unused-value',
203+
'-Wno-unused-variable',
204+
'-Wno-unused-but-set-variable',
205+
'-Wno-unused-label',
206+
'-Wno-unused-function'])
202207
env['UBSAN_OPTIONS'] = 'halt_on_error=1'
203208
env['ASAN_OPTIONS'] = 'allocator_may_return_null=1:detect_leaks=0'
204209
os.environ.update(env)

0 commit comments

Comments
 (0)