From 50be9c6b7cd609600f103e108c80c473c986a427 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 7 Nov 2020 14:08:31 +1100 Subject: Try to load Lexilla for tests that need a lexer but skip the tests when Lexilla not found. Unicode line ends only tested with Lexilla as they require a lexer that supports Unicode line ends. --- test/XiteQt.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/XiteQt.py') diff --git a/test/XiteQt.py b/test/XiteQt.py index d1ee5ea6b..b5900a308 100644 --- a/test/XiteQt.py +++ b/test/XiteQt.py @@ -18,6 +18,10 @@ scintillaScriptsDirectory = os.path.join(scintillaDirectory, "scripts") sys.path.append(scintillaScriptsDirectory) import Face +scintillaIncludesLexers = False +# Lexilla may optionally be tested it is built and can be loaded +lexillaAvailable = False + class Form(QDialog): def __init__(self, parent=None): -- cgit v1.2.3