[Lldb-commits] [lldb] 3121cc3 - [lldb][test] TestNSDictionarySynthetic.py: adjust ptr depth in test

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 18 02:05:27 PDT 2025


Author: Michael Buch
Date: 2025-07-18T10:05:18+01:00
New Revision: 3121cc31baa1aed697cc07c72d283891ffa529f6

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

LOG: [lldb][test] TestNSDictionarySynthetic.py: adjust ptr depth in test

Fixes failure after we introduced a default limit in
https://github.com/llvm/llvm-project/pull/149282

We already did this test change on the Apple fork.

Added: 
    

Modified: 
    lldb/test/API/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py b/lldb/test/API/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py
index e1d7e42bdd1a9..cd60227572be4 100644
--- a/lldb/test/API/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py
+++ b/lldb/test/API/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py
@@ -2,7 +2,6 @@
 Test lldb data formatter subsystem.
 """
 
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
@@ -120,6 +119,8 @@ def cleanup():
                 '@"2 elements"',
             ],
         )
+
+        self.runCmd("settings set target.max-children-depth 6")
         self.expect(
             "frame variable mutabledict --ptr-depth 3",
             substrs=[


        


More information about the lldb-commits mailing list