[Lldb-commits] [lldb] [lldb[test] TestCppUnionStaticMembers.py: XFAIL assertions on windows (PR #68408)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 6 04:19:00 PDT 2023
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r a16f6462d756804276d4b39267b3c19bcd6949fe..eac7b78ad0e655da2cf997690a55e8a928657e47 lldb/packages/Python/lldbsuite/test/decorators.py lldb/test/API/lang/cpp/union-static-data-members/TestCppUnionStaticMembers.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- packages/Python/lldbsuite/test/decorators.py 2023-10-06 11:03:28.000000 +0000
+++ packages/Python/lldbsuite/test/decorators.py 2023-10-06 11:18:52.873861 +0000
@@ -508,10 +508,11 @@
def expectedFailureNetBSD(bugnumber=None):
return expectedFailureOS(["netbsd"], bugnumber)
+
def expectedFailureWindows(bugnumber=None):
return expectedFailureOS(["windows"], bugnumber)
# TODO: This decorator does not do anything. Remove it.
--- test/API/lang/cpp/union-static-data-members/TestCppUnionStaticMembers.py 2023-10-06 11:04:22.000000 +0000
+++ test/API/lang/cpp/union-static-data-members/TestCppUnionStaticMembers.py 2023-10-06 11:18:52.924654 +0000
@@ -8,11 +8,11 @@
import lldbsuite.test.lldbutil as lldbutil
class CppUnionStaticMembersTestCase(TestBase):
def test_print_union(self):
"""Tests that frame variable and expr work
- for union with static data members"""
+ for union with static data members"""
self.build()
(target, process, main_thread, _) = lldbutil.run_to_source_breakpoint(
self, "return 0", lldb.SBFileSpec("main.cpp")
)
@@ -28,11 +28,11 @@
)])
@expectedFailureWindows
def test_expr_union_static_members(self):
"""Tests that frame variable and expr work
- for union static data members"""
+ for union static data members"""
self.build()
(target, process, main_thread, _) = lldbutil.run_to_source_breakpoint(
self, "return 0", lldb.SBFileSpec("main.cpp")
)
``````````
</details>
https://github.com/llvm/llvm-project/pull/68408
More information about the lldb-commits
mailing list