From bcf604b5cb32ab148206433a6bb60d191802ebed Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 26 Jul 2019 19:29:00 +0200 Subject: [PATCH] Disable wxTE_PROCESS_ENTER unit tests under wxGTK wxUIActionSimulator doesn't work reliably there and doesn't work at all when using Xvfb. --- tests/controls/textentrytest.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/controls/textentrytest.cpp b/tests/controls/textentrytest.cpp index 54e8295d10..ff1c9f36f6 100644 --- a/tests/controls/textentrytest.cpp +++ b/tests/controls/textentrytest.cpp @@ -457,6 +457,12 @@ private: void TestProcessEnter(TextLikeControlCreator controlCreator) { + if ( !EnableUITests() ) + { + WARN("Skipping wxTE_PROCESS_ENTER tests: wxUIActionSimulator use disabled"); + return; + } + SECTION("Without wxTE_PROCESS_ENTER") { TestDialog dlg(controlCreator, ProcessEnter_No);