[Lldb-commits] [lldb] 7822c8c - [lldb/test] Skip running a test under ASan, it intentionally double-frees

Vedant Kumar via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 26 10:11:49 PST 2020


Author: Vedant Kumar
Date: 2020-02-26T10:11:39-08:00
New Revision: 7822c8c03e9fe8c857da21c4ccbe28396b43130d

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

LOG: [lldb/test] Skip running a test under ASan, it intentionally double-frees

Added: 
    

Modified: 
    lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py b/lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py
index 3caa7c5d905a..d0f47de83eea 100644
--- a/lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py
+++ b/lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py
@@ -25,6 +25,7 @@ def tearDown(self):
         self.runCmd("settings clear auto-confirm")
         TestBase.tearDown(self)
 
+    @skipIfAsan # The test process intentionally double-frees.
     @skipUnlessDarwin
     def test_cli(self):
         """Test that `process status --verbose` fetches the extended crash
@@ -41,6 +42,7 @@ def test_cli(self):
                     patterns=["\"message\".*pointer being freed was not allocated"])
 
 
+    @skipIfAsan # The test process intentionally hits a memory bug.
     @skipUnlessDarwin
     def test_api(self):
         """Test that lldb can fetch a crashed process' extended crash information


        


More information about the lldb-commits mailing list