[Lldb-commits] [lldb] c4e8e2c - Skip timing-sensitive test under ASAN

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Wed May 1 12:55:48 PDT 2024


Author: Adrian Prantl
Date: 2024-05-01T12:55:36-07:00
New Revision: c4e8e2c67bbfff2d1b23210c375c173aa05e3848

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

LOG: Skip timing-sensitive test under ASAN

Added: 
    

Modified: 
    lldb/test/API/driver/quit_speed/TestQuitWithProcess.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/driver/quit_speed/TestQuitWithProcess.py b/lldb/test/API/driver/quit_speed/TestQuitWithProcess.py
index c75ac977ea2094..5cfcf5d69fd2a5 100644
--- a/lldb/test/API/driver/quit_speed/TestQuitWithProcess.py
+++ b/lldb/test/API/driver/quit_speed/TestQuitWithProcess.py
@@ -12,6 +12,7 @@
 class DriverQuitSpeedTest(PExpectTest):
     source = "main.c"
 
+    @skipIfAsan
     def test_run_quit(self):
         """Test that the lldb driver's batch mode works correctly."""
         import pexpect
@@ -31,4 +32,4 @@ def test_run_quit(self):
         print("Got launch message")
         child.sendline("quit")
         print("sent quit")
-        child.expect(pexpect.EOF, timeout=60)
+        child.expect(pexpect.EOF, timeout=15)


        


More information about the lldb-commits mailing list