Commit a2c712a3 authored by Anas Nashif's avatar Anas Nashif
Browse files

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: default avatarAnas Nashif <anas.nashif@intel.com>
parent 2a109583
Loading
Loading
Loading
Loading
+1 −1
Changes for scripts/tests/twister_blackbox/test_addon.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -106,7 +106,7 @@ class TestAddon:
    def test_enable_asan(self, capfd, out_path, asan_flags, expected_exit_value, expect_asan):
        test_platforms = ['native_sim']
        test_path = os.path.join(TEST_DATA, 'tests', 'san', 'asan')
        args = ['-i', '--outdir', out_path, '-T', test_path] + \
        args = ['-i', '--disable-warnings-as-errors', '--outdir', out_path, '-T', test_path] + \
               asan_flags + \
               [] + \
               [val for pair in zip(