From eafede2afeb45c826957d49c7895a04655f1f08d Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Mon, 2 Sep 2019 13:33:12 +0000 Subject: [dotest] Add @skipIfCursesSupportMissing and annotate the new gui test Summary: The gui command requires curses support, which can be disabled at compile time. This patch adds the ability to detect this situation in the test suite and skip the test accordingly. Reviewers: teemperor, jankratochvil Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D67073 llvm-svn: 370658 --- lldb/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lldb/packages/Python/lldbsuite/test/commands/gui/basic') 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 7edddf3ff97..89bd3e1109e 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,7 @@ class BasicGuiCommandTest(PExpectTest): mydir = TestBase.compute_mydir(__file__) + @skipIfCursesSupportMissing def test_gui(self): self.build() -- cgit v1.2.3