mirror of
https://github.com/intel/llvm.git
synced 2026-01-28 19:43:38 +08:00
[lldb] X-FAIL TestCPPStaticMembers on Windows
This was originally failed because of llvm.org/pr21765 which describes that LLDB can't call a debugee's functions, but I removed the (unnecessary) function call in the rewrite. It seems that the actual bug here is that we can't lookup static members at all, so let's X-FAIL the test for the right reason.
This commit is contained in:
@@ -15,7 +15,8 @@ class TestCase(TestBase):
|
||||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr21765")
|
||||
# We fail to lookup static members on Windows.
|
||||
@expectedFailureAll(oslist=["windows"])
|
||||
def test_access_from_main(self):
|
||||
self.build()
|
||||
lldbutil.run_to_source_breakpoint(self, "// stop in main", lldb.SBFileSpec("main.cpp"))
|
||||
@@ -24,6 +25,8 @@ class TestCase(TestBase):
|
||||
self.expect_expr("my_a.s_b", result_type="long", result_value="2")
|
||||
self.expect_expr("my_a.s_c", result_type="int", result_value="3")
|
||||
|
||||
# We fail to lookup static members on Windows.
|
||||
@expectedFailureAll(oslist=["windows"])
|
||||
def test_access_from_member_function(self):
|
||||
self.build()
|
||||
lldbutil.run_to_source_breakpoint(self, "// stop in member function", lldb.SBFileSpec("main.cpp"))
|
||||
|
||||
Reference in New Issue
Block a user