[LLDB] Add/Remove xfail for some API tests on Windows

This patch add or removes XFAIL decorator from various tests which were marked
xfail for windows.

since 44363f2 various tests have started passing but introduced a couple of new failures.
Weight is in favor of new XPasses and I have removed XFail decorator from them. Also
some new tests have started failing for which we need to file separate bugs. I have
marked them xfail for now and will add the bug id after investigating the issue.

Differential Revision: https://reviews.llvm.org/D149235
This commit is contained in:
Muhammad Omair Javaid
2023-05-03 04:03:10 +05:00
parent d3c6c3f63c
commit 6ea1a0d4fc
17 changed files with 5 additions and 22 deletions

View File

@@ -19,7 +19,6 @@ class DisasmAPITestCase(TestBase):
self.line2 = line_number(
'main.c', '// Find the line number for breakpoint 2 here.')
@expectedFailureAll(oslist=["windows"], bugnumber='llvm.org/pr21765')
def test(self):
"""Exercise getting SBAddress objects, disassembly, and SBAddress APIs."""
self.build()

View File

@@ -19,7 +19,6 @@ class SymbolAPITestCase(TestBase):
self.line2 = line_number(
'main.c', '// Find the line number for breakpoint 2 here.')
@expectedFailureAll(oslist=["windows"], bugnumber='llvm.org/pr21765')
def test(self):
"""Exercise some SBSymbol and SBAddress APIs."""
self.build()

View File

@@ -17,7 +17,6 @@ class SymbolContextAPITestCase(TestBase):
self.line = line_number(
'main.c', '// Find the line number of function "c" here.')
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
def test(self):
"""Exercise SBSymbolContext API extensively."""
self.build()

View File

@@ -42,7 +42,6 @@ class TargetAPITestCase(TestBase):
self.setTearDownCleanup(dictionary=d)
self.find_compile_units(self.getBuildArtifact('b.out'))
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
def test_find_functions(self):
"""Exercise SBTarget.FindFunctions() API."""
d = {'EXE': 'b.out'}
@@ -55,7 +54,6 @@ class TargetAPITestCase(TestBase):
self.build()
self.get_description()
@expectedFailureAll(oslist=["windows"], bugnumber='llvm.org/pr21765')
def test_resolve_symbol_context_with_address(self):
"""Exercise SBTarget.ResolveSymbolContextForAddress() API."""
self.build()

View File

@@ -18,7 +18,6 @@ class ValueAPITestCase(TestBase):
# Find the line number to of function 'c'.
self.line = line_number('main.c', '// Break at this line')
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24772")
def test(self):
"""Exercise some SBValue APIs."""
d = {'EXE': self.exe_name}