From 7ba933c694252caaa84ed1585ac648cbf350ffa8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 7 Nov 2017 16:37:25 +0100 Subject: [PATCH] Disable wxPaintEvent propagation tests for wxGTK3 They're currently broken and just always fail, it's useless to continue running them until the issue described in the comment in this commit is fixed. --- tests/events/propagation.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/events/propagation.cpp b/tests/events/propagation.cpp index 3f3d1eb8d3..bf2d40e7d0 100644 --- a/tests/events/propagation.cpp +++ b/tests/events/propagation.cpp @@ -37,7 +37,12 @@ // some tests there. But this should be fixed and the tests reenabled // because wxPaintEvent propagation in wxScrolledWindow is a perfect // example of fragile code that could be broken under OS X. -#ifndef __WXOSX__ +// +// FIXME: Under GTK+ 3 the test is broken because a simple wxYield() is not +// enough to map the frame. It should be also fixed there by waiting for +// it to come up, with some timeout, but for now it always fails, so +// it's useless to run it. +#if !defined(__WXOSX__) && !defined(__WXGTK3__) #define CAN_TEST_PAINT_EVENTS #endif