summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/terminal/TestEditline.py
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-12-20 21:01:23 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2019-12-20 21:01:23 -0800
commita32f8dd195866c2be95d7e71f311a805a6fed4cd (patch)
tree396a97bb51700beb4ebc66a56b64a662ce7fbc83 /lldb/packages/Python/lldbsuite/test/terminal/TestEditline.py
parent6cc3ee17a018d916459a4f59a77c75d0b7e191a0 (diff)
downloadbcm5719-llvm-a32f8dd195866c2be95d7e71f311a805a6fed4cd.tar.gz
bcm5719-llvm-a32f8dd195866c2be95d7e71f311a805a6fed4cd.zip
[lldb/test] Skip editline tests when LLDB_ENABLE_LIBEDIT is off.
Add a new decorator that checks if LLDB was build with editline support and mark the relevant tests as skipped when that's not the case.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/terminal/TestEditline.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/terminal/TestEditline.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/terminal/TestEditline.py b/lldb/packages/Python/lldbsuite/test/terminal/TestEditline.py
index cf82f5d8ab1..8e1652a5041 100644
--- a/lldb/packages/Python/lldbsuite/test/terminal/TestEditline.py
+++ b/lldb/packages/Python/lldbsuite/test/terminal/TestEditline.py
@@ -16,6 +16,7 @@ class EditlineTest(PExpectTest):
mydir = TestBase.compute_mydir(__file__)
@skipIfAsan
+ @skipIfEditlineSupportMissing
def test_left_right_arrow(self):
"""Test that ctrl+left/right arrow navigates words correctly.
OpenPOWER on IntegriCloud