summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2019-11-18 10:39:33 +0100
committerDiana Picus <diana.picus@linaro.org>2019-11-19 10:49:00 +0100
commitbb7c8e984f87e1de7c80abd33d00025ac366efa6 (patch)
treea1347fdd8bc82b66dd531c6db2a22fa277c0130d /lldb/packages/Python/lldbsuite
parent6ec07140980770fccfcdf53fe43e7425a9f51a7b (diff)
downloadbcm5719-llvm-bb7c8e984f87e1de7c80abd33d00025ac366efa6.tar.gz
bcm5719-llvm-bb7c8e984f87e1de7c80abd33d00025ac366efa6.zip
Mark PR44037 tests as XFAIL on AArch64 Linux dwo
These tests are failing with various assertion failures, but they all throw the following error message first: error: a.out 0x0000002d: adding range [0x14-0x24) which has a base that is less than the function's low PC 0x40060c. See llvm.org/pr44037. Differential Revision: https://reviews.llvm.org/D70381
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py9
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/c/inlines/TestRedefinitionsInInlines.py6
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/cpp/member-and-local-vars-with-same-name/TestMembersAndLocalsWithSameName.py7
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py3
4 files changed, 24 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
index 052b125143f..1dc12e94eaf 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
@@ -16,17 +16,26 @@ class BreakpointLocationsTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24528")
+ @expectedFailureAll(archs=["aarch64"], oslist=["linux"],
+ debug_info=["dwo"],
+ bugnumber="llvm.org/pr44037")
def test_enable(self):
"""Test breakpoint enable/disable for a breakpoint ID with multiple locations."""
self.build()
self.breakpoint_locations_test()
+ @expectedFailureAll(archs=["aarch64"], oslist=["linux"],
+ debug_info=["dwo"],
+ bugnumber="llvm.org/pr44037")
def test_shadowed_cond_options(self):
"""Test that options set on the breakpoint and location behave correctly."""
self.build()
self.shadowed_bkpt_cond_test()
+ @expectedFailureAll(archs=["aarch64"], oslist=["linux"],
+ debug_info=["dwo"],
+ bugnumber="llvm.org/pr44037")
def test_shadowed_command_options(self):
"""Test that options set on the breakpoint and location behave correctly."""
self.build()
diff --git a/lldb/packages/Python/lldbsuite/test/lang/c/inlines/TestRedefinitionsInInlines.py b/lldb/packages/Python/lldbsuite/test/lang/c/inlines/TestRedefinitionsInInlines.py
index 311c5ec8e12..1e829901cf1 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/c/inlines/TestRedefinitionsInInlines.py
+++ b/lldb/packages/Python/lldbsuite/test/lang/c/inlines/TestRedefinitionsInInlines.py
@@ -6,4 +6,8 @@ lldbinline.MakeInlineTest(__file__,
[decorators.expectedFailureAll(compiler="clang",
compiler_version=["<",
"3.5"],
- bugnumber="llvm.org/pr27845")])
+ bugnumber="llvm.org/pr27845"),
+ decorators.expectedFailureAll(archs="aarch64",
+ oslist="linux",
+ debug_info="dwo",
+ bugnumber="llvm.org/pr44037")])
diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/member-and-local-vars-with-same-name/TestMembersAndLocalsWithSameName.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/member-and-local-vars-with-same-name/TestMembersAndLocalsWithSameName.py
index c07acf9c540..ac964a35fec 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/cpp/member-and-local-vars-with-same-name/TestMembersAndLocalsWithSameName.py
+++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/member-and-local-vars-with-same-name/TestMembersAndLocalsWithSameName.py
@@ -1,4 +1,5 @@
import lldb
+from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
import lldbsuite.test.lldbutil as lldbutil
@@ -7,6 +8,9 @@ class TestMembersAndLocalsWithSameName(TestBase):
mydir = TestBase.compute_mydir(__file__)
+ @expectedFailureAll(archs=["aarch64"], oslist=["linux"],
+ debug_info=["dwo"],
+ bugnumber="llvm.org/pr44037")
def test_when_stopped_in_method(self):
self._load_exe()
@@ -109,6 +113,9 @@ class TestMembersAndLocalsWithSameName(TestBase):
self.assertTrue(val.IsValid())
self.assertEqual(val.GetValueAsUnsigned(), 778899)
+ @expectedFailureAll(archs=["aarch64"], oslist=["linux"],
+ debug_info=["dwo"],
+ bugnumber="llvm.org/pr44037")
def test_when_stopped_in_function(self):
self._load_exe()
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py b/lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py
index da4e9cb06e7..1fdd477e22e 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py
@@ -26,6 +26,9 @@ class InlinedFrameAPITestCase(TestBase):
self.source, '// This should correspond to the second break stop.')
@add_test_categories(['pyapi'])
+ @expectedFailureAll(archs=["aarch64"], oslist=["linux"],
+ debug_info=["dwo"],
+ bugnumber="llvm.org/pr44037")
def test_stop_at_outer_inline(self):
"""Exercise SBFrame.IsInlined() and SBFrame.GetFunctionName()."""
self.build()
OpenPOWER on IntegriCloud