[Lldb-commits] [lldb] 36a461b - @skipIfAsan for the other long test in TestMemoryRegion.py

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 9 14:55:28 PDT 2022


Author: Jim Ingham
Date: 2022-08-09T14:55:20-07:00
New Revision: 36a461b8c2a2df47a59789e92908a1275aa5fc30

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

LOG: @skipIfAsan for the other long test in TestMemoryRegion.py

These two tests were each of them too long when running under ASAN,
so we have to skip both to get a clean ASAN bot run.

Added: 
    

Modified: 
    lldb/test/API/functionalities/memory-region/TestMemoryRegion.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/memory-region/TestMemoryRegion.py b/lldb/test/API/functionalities/memory-region/TestMemoryRegion.py
index 50d64de5b754..66e75e0905ae 100644
--- a/lldb/test/API/functionalities/memory-region/TestMemoryRegion.py
+++ b/lldb/test/API/functionalities/memory-region/TestMemoryRegion.py
@@ -37,8 +37,8 @@ def setup_program(self):
 
         self.runCmd("run", RUN_SUCCEEDED)
 
-    # This test builds a large result string in such a way that when run
-    # under ASAN the test always times out.  Most of the time is in the asan
+    # This test and the next build a large result string in such a way that
+    # when run under ASAN the test always times out.  Most of the time is in the asan
     # checker under PyUnicode_Append.
     # This seems to be a worst-case scenario for ASAN performance.
     @skipIfAsan
@@ -93,6 +93,7 @@ def test_command(self):
         self.assertTrue(result.Succeeded())
         self.assertEqual(result.GetOutput(), all_regions)
 
+    @skipIfAsan
     def test_no_overlapping_regions(self):
         # In the past on Windows we were recording AllocationBase as the base address
         # of the current region, not BaseAddress. So if a range of pages was split


        


More information about the lldb-commits mailing list