[Lldb-commits] [lldb] d572fc3 - Skip TestConcurrentWatchBreak.py on Darwin arm64

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 7 14:33:55 PDT 2022


Author: Jason Molenda
Date: 2022-06-07T14:33:40-07:00
New Revision: d572fc3b49bd53b7871223b3054b235cf99f6b61

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

LOG: Skip TestConcurrentWatchBreak.py on Darwin arm64

This test depends on multiple threads with one of them
hitting a watchpoint at the same time as a breakpoint, and
can fail because of the way arm64 watchpoints are handled.
I added skips to most of these via

```
commit bef4da4a6aef8196f007f44e3e9c8e3419ffb623
Author: Jason Molenda <jason at molenda.com>
Date:   Wed May 25 16:05:16 2022 -0700

    Skip testing of watchpoint hit-count/ignore-count on multithreaded
```

but missed that this test is susceptable to the same issue.

Added: 
    

Modified: 
    lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchBreak.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchBreak.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchBreak.py
index 05754c81616e4..0de70ca69c8c5 100644
--- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchBreak.py
+++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchBreak.py
@@ -14,6 +14,11 @@ class ConcurrentWatchBreak(ConcurrentEventsBase):
     # Atomic sequences are not supported yet for MIPS in LLDB.
     @skipIf(triple='^mips')
     @add_test_categories(["watchpoint"])
+    @skipIf(
+    oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"],
+    archs=['arm64', 'arm64e', 'arm64_32', 'arm'],
+    bugnumber="rdar://93863107")
+
     def test(self):
         """Test watchpoint and a breakpoint in multiple threads."""
         self.build()


        


More information about the lldb-commits mailing list