Skip to content

Commit 3a7e979

Browse files
author
kendal
committed
[lldb][test][win][x86_64] XFAIL already failing API tests
1 parent 70c6e79 commit 3a7e979

File tree

30 files changed

+58
-24
lines changed

30 files changed

+58
-24
lines changed

lldb/test/API/commands/apropos/with-process/TestAproposWithProcess.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
Test that apropos env doesn't crash trying to touch the process plugin command
33
"""
44

5-
65
import lldb
6+
from lldbsuite.test.decorators import *
77
from lldbsuite.test.lldbtest import *
88
import lldbsuite.test.lldbutil as lldbutil
99

@@ -17,6 +17,7 @@ def setUp(self):
1717
# Find the line number to break inside main().
1818
self.line = line_number("main.cpp", "// break here")
1919

20+
@expectedFailureAll(oslist=["windows"], archs=["x86_64"])
2021
def test_apropos_with_process(self):
2122
"""Test that apropos env doesn't crash trying to touch the process plugin command."""
2223
self.build()

lldb/test/API/commands/command/nested_alias/TestNestedAlias.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
Test that an alias can reference other aliases without crashing.
33
"""
44

5-
65
import lldb
6+
from lldbsuite.test.decorators import *
77
from lldbsuite.test.lldbtest import *
88
import lldbsuite.test.lldbutil as lldbutil
99

@@ -17,6 +17,7 @@ def setUp(self):
1717
# Find the line number to break inside main().
1818
self.line = line_number("main.cpp", "// break here")
1919

20+
@expectedFailureAll(oslist=["windows"], archs=["x86_64"])
2021
def test_nested_alias(self):
2122
"""Test that an alias can reference other aliases without crashing."""
2223
self.build()

lldb/test/API/commands/expression/entry-bp/TestExprEntryBP.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@
44

55
import lldb
66
import lldbsuite.test.lldbutil as lldbutil
7+
from lldbsuite.test.decorators import *
78
from lldbsuite.test.lldbtest import *
89

910

1011
class ExprEntryBPTestCase(TestBase):
1112
NO_DEBUG_INFO_TESTCASE = True
1213

14+
@expectedFailureAll(oslist=["windows"], archs=["x86_64"])
1315
def test_expr_entry_bp(self):
1416
"""Tests expressions evaluation when the breakpoint on module's entry is set."""
1517
self.build()

lldb/test/API/commands/memory/write/TestMemoryWrite.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def build_run_stop(self):
3939
lldbutil.check_breakpoint(self, bpno=1, expected_hit_count=1)
4040

4141
@no_debug_info_test
42+
@expectedFailureAll(oslist=["windows"], archs=["x86_64"])
4243
def test_memory_write(self):
4344
"""Test the 'memory write' command for writing values and file contents."""
4445
self.build_run_stop()

lldb/test/API/commands/settings/use_source_cache/TestUseSourceCache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def test_set_use_source_cache_false(self):
1818
self.set_use_source_cache_and_test(False)
1919

2020
@skipIf(hostoslist=no_match(["windows"]))
21-
@skipIf(oslist=["windows"]) # Fails on windows 11
21+
@expectedFailureAll(oslist=["windows"])
2222
def test_set_use_source_cache_true(self):
2323
"""Test that after 'set use-source-cache false', files are locked."""
2424
self.set_use_source_cache_and_test(True)

lldb/test/API/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
Test address breakpoints set with shared library of SBAddress work correctly.
33
"""
44

5-
65
import lldb
76
import lldbsuite.test.lldbutil as lldbutil
7+
from lldbsuite.test.decorators import *
88
from lldbsuite.test.lldbtest import *
99

1010

@@ -16,6 +16,7 @@ def test_address_breakpoints(self):
1616
self.build()
1717
self.address_breakpoints()
1818

19+
@expectedFailureAll(oslist=["windows"], archs=["x86_64"])
1920
def address_breakpoints(self):
2021
"""Test address breakpoints set with shared library of SBAddress work correctly."""
2122
target = self.createTestTarget()

lldb/test/API/functionalities/breakpoint/auto_continue/TestBreakpointAutoContinue.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
Test that the breakpoint auto-continue flag works correctly.
33
"""
44

5-
65
import lldb
76
import lldbsuite.test.lldbutil as lldbutil
7+
from lldbsuite.test.decorators import *
88
from lldbsuite.test.lldbtest import *
99

1010

@@ -21,6 +21,7 @@ def test_auto_continue_with_command(self):
2121
self.build()
2222
self.auto_continue_with_command()
2323

24+
@expectedFailureAll(oslist=["windows"], archs=["x86_64"])
2425
def test_auto_continue_on_location(self):
2526
"""Set auto-continue on a location and make sure only that location continues"""
2627
self.build()

lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class PythonBreakpointCommandSettingTestCase(TestBase):
1313
NO_DEBUG_INFO_TESTCASE = True
1414

1515
@add_test_categories(["pyapi"])
16+
@expectedFailureAll(oslist=["windows"], archs=["x86_64"])
1617
def test_step_out_python(self):
1718
"""Test stepping out using a python breakpoint command."""
1819
self.build()

lldb/test/API/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
Test breakpoint command for different options.
33
"""
44

5-
65
import lldb
6+
from lldbsuite.test.decorators import *
77
from lldbsuite.test.lldbtest import *
88
import lldbsuite.test.lldbutil as lldbutil
99

1010

1111
class BreakpointOptionsTestCase(TestBase):
12+
@expectedFailureAll(oslist=["windows"], archs=["x86_64"])
1213
def test(self):
1314
"""Test breakpoint command for different options."""
1415
self.build()

lldb/test/API/functionalities/breakpoint/step_over_breakpoint/TestStepOverBreakpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
and eStopReasonPlanComplete when breakpoint's condition fails.
66
"""
77

8-
98
import lldb
109
from lldbsuite.test.decorators import *
1110
from lldbsuite.test.lldbtest import *
@@ -56,6 +55,7 @@ def setUp(self):
5655
)
5756
self.assertIsNotNone(self.thread, "Didn't stop at breakpoint 1.")
5857

58+
@expectedFailureAll(oslist=["windows"], archs=["x86_64"])
5959
def test_step_instruction(self):
6060
# Count instructions between breakpoint_1 and breakpoint_4
6161
contextList = self.target.FindFunctions("main", lldb.eFunctionNameTypeAuto)

0 commit comments

Comments
 (0)