summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/commands/expression/multiline-navigation/TestMultilineNavigation.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/commands/expression/multiline-navigation/TestMultilineNavigation.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/commands/expression/multiline-navigation/TestMultilineNavigation.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/commands/expression/multiline-navigation/TestMultilineNavigation.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/commands/expression/multiline-navigation/TestMultilineNavigation.py b/lldb/packages/Python/lldbsuite/test/commands/expression/multiline-navigation/TestMultilineNavigation.py
index 71211120921..743e7994536 100644
--- a/lldb/packages/Python/lldbsuite/test/commands/expression/multiline-navigation/TestMultilineNavigation.py
+++ b/lldb/packages/Python/lldbsuite/test/commands/expression/multiline-navigation/TestMultilineNavigation.py
@@ -17,6 +17,7 @@ class TestCase(PExpectTest):
# PExpect uses many timeouts internally and doesn't play well
# under ASAN on a loaded machine..
@skipIfAsan
+ @skipIfEditlineSupportMissing
def test_nav_arrow_up(self):
"""Tests that we can navigate back to the previous line with the up arrow"""
self.launch()
@@ -38,6 +39,7 @@ class TestCase(PExpectTest):
self.quit()
@skipIfAsan
+ @skipIfEditlineSupportMissing
def test_nav_arrow_down(self):
"""Tests that we can navigate to the next line with the down arrow"""
self.launch()
OpenPOWER on IntegriCloud