Skip to content

Commit

Permalink
Merge pull request #1263 from adrian-prantl/disable-asan-tests
Browse files Browse the repository at this point in the history
Cherry-pick: disable LLDB tests under asan that don't work under asan
  • Loading branch information
fredriss authored May 26, 2020
2 parents 1f9c5cd + a411d8c commit 5523603
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lldb/test/API/functionalities/ptr_refs/TestPtrRefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class TestPtrRefs(TestBase):

mydir = TestBase.compute_mydir(__file__)

@skipIfAsan # The output looks different under ASAN.
@skipUnlessDarwin
def test_ptr_refs(self):
"""Test format string functionality."""
Expand Down
1 change: 1 addition & 0 deletions lldb/test/API/lang/objc/ptr_refs/TestPtrRefsObjC.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class TestPtrRefsObjC(TestBase):

mydir = TestBase.compute_mydir(__file__)

@skipIfAsan # The output looks different under ASAN.
@skipUnlessDarwin
def test_ptr_refs(self):
"""Test the ptr_refs tool on Darwin with Objective-C"""
Expand Down
1 change: 1 addition & 0 deletions lldb/test/API/python_api/thread/TestThreadAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def test_run_to_address(self):
self.setTearDownCleanup(dictionary=d)
self.run_to_address(self.exe_name)

@skipIfAsan # The output looks different under ASAN.
@add_test_categories(['pyapi'])
@expectedFailureAll(oslist=['freebsd'], bugnumber='llvm.org/pr20476')
@expectedFailureAll(oslist=["windows"])
Expand Down

0 comments on commit 5523603

Please sign in to comment.