Skip to content

Commit 7822c8c

Browse files
committed
[lldb/test] Skip running a test under ASan, it intentionally double-frees
1 parent fd7c2e2 commit 7822c8c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def tearDown(self):
2525
self.runCmd("settings clear auto-confirm")
2626
TestBase.tearDown(self)
2727

28+
@skipIfAsan # The test process intentionally double-frees.
2829
@skipUnlessDarwin
2930
def test_cli(self):
3031
"""Test that `process status --verbose` fetches the extended crash
@@ -41,6 +42,7 @@ def test_cli(self):
4142
patterns=["\"message\".*pointer being freed was not allocated"])
4243

4344

45+
@skipIfAsan # The test process intentionally hits a memory bug.
4446
@skipUnlessDarwin
4547
def test_api(self):
4648
"""Test that lldb can fetch a crashed process' extended crash information

0 commit comments

Comments
 (0)