[dotest] Add @skipIfCursesSupportMissing and annotate the new gui test
authorPavel Labath <pavel@labath.sk>
Mon, 2 Sep 2019 13:33:12 +0000 (13:33 +0000)
committerPavel Labath <pavel@labath.sk>
Mon, 2 Sep 2019 13:33:12 +0000 (13:33 +0000)
commiteafede2afeb45c826957d49c7895a04655f1f08d
treef33f594fa43974a0fc452e74bce5c4317cca8bea
parent491fc23a600a0aa4903b4be4eefa9b503295d70b
[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
lldb/packages/Python/lldbsuite/test/commands/gui/invalid-args/TestInvalidArgsGui.py
lldb/packages/Python/lldbsuite/test/decorators.py
lldb/source/API/SBDebugger.cpp