summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py
diff options
context:
space:
mode:
authorFrederic Riss <friss@apple.com>2019-10-09 22:47:28 +0000
committerFrederic Riss <friss@apple.com>2019-10-09 22:47:28 +0000
commitadc5043fa2749d2a38139e6429837651d4936569 (patch)
tree085d866e5a2bbe50814f94e55b3d6c30ec9cf709 /lldb/packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py
parent85dfa82302238eddf66d9fdedf565ea4d4254136 (diff)
downloadbcm5719-llvm-adc5043fa2749d2a38139e6429837651d4936569.tar.gz
bcm5719-llvm-adc5043fa2749d2a38139e6429837651d4936569.zip
TestIndirectSymbols: Modernize the Makefile
This old test used a completely hand-rolled Makefile. Modernize so that it's able to cross-compile. And XFAIL the test as it fails on embedded targets... llvm-svn: 374256
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py b/lldb/packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py
index 4aa0681f8dc..e529db11a0c 100644
--- a/lldb/packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py
+++ b/lldb/packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py
@@ -20,6 +20,7 @@ class TestIndirectFunctions(TestBase):
self.main_source = "main.c"
@skipUnlessDarwin
+ @expectedFailureAll(oslist=no_match(["macosx"]), bugnumber="rdar://55952764")
@add_test_categories(['pyapi'])
def test_with_python_api(self):
"""Test stepping and setting breakpoints in indirect and re-exported symbols."""
@@ -61,8 +62,7 @@ class TestIndirectFunctions(TestBase):
# indirect function.
thread.StepInto()
curr_function = thread.GetFrameAtIndex(0).GetFunctionName()
- self.assertTrue(
- curr_function == "call_through_indirect_hidden",
+ self.assertEqual(curr_function, "call_through_indirect_hidden",
"Stepped into indirect symbols.")
# Now set a breakpoint using the indirect symbol name, and make sure we
OpenPOWER on IntegriCloud