From 263eb368694228efc155f1140779b561d1c34db4 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Tue, 15 Oct 2019 15:38:49 +0000 Subject: [PATCH] Skip PExpect tests under ASAN, I can't get them to work reliably. llvm-svn: 374905 --- .../expression/multiline-completion/TestMultilineCompletion.py | 3 +++ lldb/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/lldb/packages/Python/lldbsuite/test/commands/expression/multiline-completion/TestMultilineCompletion.py b/lldb/packages/Python/lldbsuite/test/commands/expression/multiline-completion/TestMultilineCompletion.py index b96eba7..dc4f36b 100644 --- a/lldb/packages/Python/lldbsuite/test/commands/expression/multiline-completion/TestMultilineCompletion.py +++ b/lldb/packages/Python/lldbsuite/test/commands/expression/multiline-completion/TestMultilineCompletion.py @@ -11,6 +11,9 @@ class MultilineCompletionTest(PExpectTest): mydir = TestBase.compute_mydir(__file__) + # PExpect uses many timeouts internally and doesn't play well + # under ASAN on a loaded machine.. + @skipIfAsan def test_basic_completion(self): """Test that we can complete a simple multiline expression""" self.build() diff --git a/lldb/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py b/lldb/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py index 831195f..d501b26 100644 --- a/lldb/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py +++ b/lldb/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py @@ -11,6 +11,9 @@ class BasicGuiCommandTest(PExpectTest): mydir = TestBase.compute_mydir(__file__) + # PExpect uses many timeouts internally and doesn't play well + # under ASAN on a loaded machine.. + @skipIfAsan @skipIfCursesSupportMissing def test_gui(self): self.build() -- 2.7.4