[Lldb-commits] [lldb] 285bff3 - [lldb][test][Windows] Skip thread state test on Windows

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 26 05:54:26 PST 2024


Author: David Spickett
Date: 2024-02-26T13:54:05Z
New Revision: 285bff39fd283b3a9a27c06525111d8d4f474e6e

URL: https://github.com/llvm/llvm-project/commit/285bff39fd283b3a9a27c06525111d8d4f474e6e
DIFF: https://github.com/llvm/llvm-project/commit/285bff39fd283b3a9a27c06525111d8d4f474e6e.diff

LOG: [lldb][test][Windows] Skip thread state test on Windows

This actually passes on Windows but I don't know how to convey
that with an xfail without clashing with the xfail for all
platforms.

At least this avoids a UPASS.

Added: 
    

Modified: 
    lldb/test/API/functionalities/thread/state/TestThreadStates.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/thread/state/TestThreadStates.py b/lldb/test/API/functionalities/thread/state/TestThreadStates.py
index 97a6e250dcc39c..f4c17df5233826 100644
--- a/lldb/test/API/functionalities/thread/state/TestThreadStates.py
+++ b/lldb/test/API/functionalities/thread/state/TestThreadStates.py
@@ -39,6 +39,9 @@ def test_state_after_continue(self):
     @skipIfDarwin  # 'llvm.org/pr23669', cause Python crash randomly
     @expectedFailureDarwin("llvm.org/pr23669")
     @expectedFailureNetBSD
+    # This actually passes on Windows on Arm but it's hard to describe that
+    # and xfail it everywhere else.
+    @skipIfWindows
     # thread states not properly maintained
     @unittest.expectedFailure  # llvm.org/pr16712
     def test_state_after_expression(self):


        


More information about the lldb-commits mailing list