[Lldb-commits] [lldb] 2e007b8 - [lldb] Skip TestAttachDenied under asan

Felipe de Azevedo Piovezan via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 11 09:29:08 PDT 2024


Author: Felipe de Azevedo Piovezan
Date: 2024-06-11T09:28:10-07:00
New Revision: 2e007b89c65eeb33baf1b40103284d8937700cf0

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

LOG: [lldb] Skip TestAttachDenied under asan

Like many other tests, this one times out when run under the address sanitizer.
To reduce noise, this commit skips it in those builds.

Added: 
    

Modified: 
    lldb/test/API/commands/process/attach/attach_denied/TestAttachDenied.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/commands/process/attach/attach_denied/TestAttachDenied.py b/lldb/test/API/commands/process/attach/attach_denied/TestAttachDenied.py
index 22dca62045022..d72a710e8127b 100644
--- a/lldb/test/API/commands/process/attach/attach_denied/TestAttachDenied.py
+++ b/lldb/test/API/commands/process/attach/attach_denied/TestAttachDenied.py
@@ -18,6 +18,7 @@ class AttachDeniedTestCase(TestBase):
     @skipIfWindows
     @skipIfiOSSimulator
     @skipIfDarwinEmbedded  # ptrace(ATTACH_REQUEST...) won't work on ios/tvos/etc
+    @skipIfAsan # Times out inconsistently under asan
     def test_attach_to_process_by_id_denied(self):
         """Test attach by process id denied"""
         self.build()


        


More information about the lldb-commits mailing list