Author: Felipe de Azevedo Piovezan
Date: 2026-06-29T11:34:51+01:00
New Revision: 3493adc876b18c7c1895bbc09b6a9a26f2710a91

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

LOG: [lldb] Reduce output of TestDataFormatterStdVBool (#206444)

Tests should not be printing an unbounded amount of data, especially
when said data is the subject of corruption or misinterpretation by the
printer (the formatter, in this case).

This test is currently failing on the matrix bots, with the result that
close to 3GB of text is produced.

Added: 
    

Modified: 
    
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vbool/TestDataFormatterStdVBool.py

Removed: 
    


################################################################################
diff  --git 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vbool/TestDataFormatterStdVBool.py
 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vbool/TestDataFormatterStdVBool.py
index 3145f4e9bab76..5bcc010c763ba 100644
--- 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vbool/TestDataFormatterStdVBool.py
+++ 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vbool/TestDataFormatterStdVBool.py
@@ -44,11 +44,12 @@ def cleanup():
             self.runCmd("type synth clear", check=False)
             self.runCmd("settings set target.max-children-count 24", 
check=False)
 
+        self.runCmd("settings set target.max-children-count 128", check=False)
         # Execute the cleanup function during test case tear down.
         self.addTearDownHook(cleanup)
 
         self.expect(
-            "frame variable -A vBool",
+            "frame variable vBool",
             substrs=[
                 "size=73",
                 "[0] = false",
@@ -69,7 +70,7 @@ def cleanup():
         )
 
         self.expect(
-            "expr -A -- vBool",
+            "expr -- vBool",
             substrs=[
                 "size=73",
                 "[0] = false",


        
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to