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

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 10 14:23:39 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)
----------------
bulbazord wrote:

Do the dimensions matter if they'll get cleared and then reset later in the test?

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


More information about the lldb-commits mailing list