Skip to content

Commit c64c64d

Browse files
[lldb][lldb-dap] Disable more tests on Windows (#139251)
These are currently failing on Windows on Arm: https://lab.llvm.org/buildbot/#/builders/141/builds/8556 ``` ******************** Unresolved Tests (1): lldb-api :: tools/lldb-dap/memory/TestDAP_memory.py ******************** Failed Tests (1): lldb-api :: tools/lldb-dap/variables/TestDAP_variables.py ```
1 parent e8898a6 commit c64c64d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

lldb/test/API/tools/lldb-dap/memory/TestDAP_memory.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313

1414
class TestDAP_memory(lldbdap_testcase.DAPTestCaseBase):
15+
@skipIfWindows
1516
def test_memory_refs_variables(self):
1617
"""
1718
Tests memory references for evaluate
@@ -33,6 +34,7 @@ def test_memory_refs_variables(self):
3334
# Non-pointers should also have memory-references
3435
self.assertIn("memoryReference", locals["not_a_ptr"].keys())
3536

37+
@skipIfWindows
3638
def test_memory_refs_evaluate(self):
3739
"""
3840
Tests memory references for evaluate
@@ -52,6 +54,7 @@ def test_memory_refs_evaluate(self):
5254
self.dap_server.request_evaluate("rawptr")["body"].keys(),
5355
)
5456

57+
@skipIfWindows
5558
def test_memory_refs_set_variable(self):
5659
"""
5760
Tests memory references for `setVariable`
@@ -74,6 +77,7 @@ def test_memory_refs_set_variable(self):
7477
].keys(),
7578
)
7679

80+
@skipIfWindows
7781
def test_readMemory(self):
7882
"""
7983
Tests the 'readMemory' request

lldb/test/API/tools/lldb-dap/variables/TestDAP_variables.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,16 +411,19 @@ def do_test_scopes_variables_setVariable_evaluate(
411411

412412
self.verify_variables(verify_locals, locals)
413413

414+
@skipIfWindows
414415
def test_scopes_variables_setVariable_evaluate(self):
415416
self.do_test_scopes_variables_setVariable_evaluate(
416417
enableAutoVariableSummaries=False
417418
)
418419

420+
@skipIfWindows
419421
def test_scopes_variables_setVariable_evaluate_with_descriptive_summaries(self):
420422
self.do_test_scopes_variables_setVariable_evaluate(
421423
enableAutoVariableSummaries=True
422424
)
423425

426+
@skipIfWindows
424427
def do_test_scopes_and_evaluate_expansion(self, enableAutoVariableSummaries: bool):
425428
"""
426429
Tests the evaluated expression expands successfully after "scopes" packets
@@ -673,6 +676,7 @@ def do_test_indexedVariables(self, enableSyntheticChildDebugging: bool):
673676
]["variables"]
674677
self.verify_variables(verify_children, children)
675678

679+
@skipIfWindows
676680
def test_return_variables(self):
677681
"""
678682
Test the stepping out of a function with return value show the variable correctly.

0 commit comments

Comments
 (0)