[Lldb-commits] [lldb] r371077 - [lldb][NFC] Add dimensions to pexpect tests failing on sanitizer bot
Raphael Isemann via lldb-commits
lldb-commits at lists.llvm.org
Thu Sep 5 07:51:23 PDT 2019
Author: teemperor
Date: Thu Sep 5 07:51:23 2019
New Revision: 371077
URL: http://llvm.org/viewvc/llvm-project?rev=371077&view=rev
Log:
[lldb][NFC] Add dimensions to pexpect tests failing on sanitizer bot
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.
Modified:
lldb/trunk/packages/Python/lldbsuite/test/commands/expression/multiline-completion/TestMultilineCompletion.py
lldb/trunk/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/commands/expression/multiline-completion/TestMultilineCompletion.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/commands/expression/multiline-completion/TestMultilineCompletion.py?rev=371077&r1=371076&r2=371077&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/commands/expression/multiline-completion/TestMultilineCompletion.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/commands/expression/multiline-completion/TestMultilineCompletion.py Thu Sep 5 07:51:23 2019
@@ -15,7 +15,7 @@ class MultilineCompletionTest(PExpectTes
"""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 ="])
Modified: lldb/trunk/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py?rev=371077&r1=371076&r2=371077&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py Thu Sep 5 07:51:23 2019
@@ -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 ="])
More information about the lldb-commits
mailing list