Twister remove -Werror #92845
-
How can I remove the -Werror flag when running tests with Twister? This is really annoying to have code compiling except when trying to run an actual test... I have tried zephyr_library_compile_options and target_compile_definitions with the -Wno-error but -Werror is still AFTER the -Wno-error flag. It worked for a time but now I do not know what changed but all my tests fail to build because of warnings treated as errors. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You should run Twister with |
Beta Was this translation helpful? Give feedback.
You should run Twister with
--disable-warnings-as-errors
flag (btwtwister --help
should give you a pretty exhaustive list of all the supported options :))