Skip to content

Commit a2c712a

Browse files
committed
twister: tests: do not error on warnings when testing asan
In case of warning turning into errors which is expected, do not error out and continue with execution. Signed-off-by: Anas Nashif <[email protected]>
1 parent 2a10958 commit a2c712a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/tests/twister_blackbox/test_addon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def test_enable_lsan(self, out_path, lsan_flags, expected_exit_value):
106106
def test_enable_asan(self, capfd, out_path, asan_flags, expected_exit_value, expect_asan):
107107
test_platforms = ['native_sim']
108108
test_path = os.path.join(TEST_DATA, 'tests', 'san', 'asan')
109-
args = ['-i', '--outdir', out_path, '-T', test_path] + \
109+
args = ['-i', '--disable-warnings-as-errors', '--outdir', out_path, '-T', test_path] + \
110110
asan_flags + \
111111
[] + \
112112
[val for pair in zip(

0 commit comments

Comments
 (0)