[lldb][NFC] Add dimensions to pexpect tests failing on sanitizer bot
authorRaphael Isemann <teemperor@gmail.com>
Thu, 5 Sep 2019 14:51:23 +0000 (14:51 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Thu, 5 Sep 2019 14:51:23 +0000 (14:51 +0000)
I'm still unable to reproduce this locally, so let's see if this
is enough to make the bots happy. The missing dimension parameter
seems to be the biggest difference between these tests and
TestIOHandlerCompletion.py which runs just fine on the same bot,
so that's the motivation for trying this out.

llvm-svn: 371077

lldb/packages/Python/lldbsuite/test/commands/expression/multiline-completion/TestMultilineCompletion.py
lldb/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py

index 7447e15..b96eba7 100644 (file)
@@ -15,7 +15,7 @@ class MultilineCompletionTest(PExpectTest):
         """Test that we can complete a simple multiline expression"""
         self.build()
 
-        self.launch(executable=self.getBuildArtifact("a.out"))
+        self.launch(executable=self.getBuildArtifact("a.out"), dimensions=(100,500))
         self.expect("b main", substrs=["Breakpoint 1", "address ="])
         self.expect("run", substrs=["stop reason ="])
 
index 15c60de..831195f 100644 (file)
@@ -15,7 +15,7 @@ class BasicGuiCommandTest(PExpectTest):
     def test_gui(self):
         self.build()
 
-        self.launch(executable=self.getBuildArtifact("a.out"))
+        self.launch(executable=self.getBuildArtifact("a.out"), dimensions=(100,500))
         self.expect('br set -f main.c -p "// Break here"', substrs=["Breakpoint 1", "address ="])
         self.expect("run", substrs=["stop reason ="])