llvmorg-github-actions[bot] wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Felipe de Azevedo Piovezan (felipepiovezan)

<details>
<summary>Changes</summary>

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.

---
Full diff: https://github.com/llvm/llvm-project/pull/206444.diff


1 Files Affected:

- (modified) 
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vbool/TestDataFormatterStdVBool.py
 (+3-2) 


``````````diff
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",

``````````

</details>


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

Reply via email to