From a32f8dd195866c2be95d7e71f311a805a6fed4cd Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Fri, 20 Dec 2019 21:01:23 -0800 Subject: [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. --- lldb/packages/Python/lldbsuite/test/terminal/TestEditline.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lldb/packages/Python/lldbsuite/test/terminal') 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. -- cgit v1.2.3