[Lldb-commits] [lldb] [lldb] Add a test for terminal dimensions (PR #126598)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 10 14:32:36 PST 2025


================
@@ -0,0 +1,22 @@
+import lldb
+from lldbsuite.test.decorators import *
+from lldbsuite.test.lldbtest import *
+from lldbsuite.test import lldbutil
+from lldbsuite.test.lldbpexpect import PExpectTest
+
+
+class TerminalDimensionsTest(PExpectTest):
+    NO_DEBUG_INFO_TESTCASE = True
+
+    @skipIfAsan
+    def test(self):
+        """Test that the lldb driver correctly reports the (PExpect) terminal dimension."""
+        self.launch(dimensions=(40, 40), timeout=1)
----------------
JDevlieghere wrote:

They matter in the sense that they need to be different (noted in the comment below). I. need to remove the `, timeout=1` because that was just for local debugging. 

https://github.com/llvm/llvm-project/pull/126598


More information about the lldb-commits mailing list