From 6037ce0e6f40f5b57b8aa4f913faf46e75491374 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 12 Jun 2015 15:57:33 +0200 Subject: [PATCH] Disable unit test sporadically failing in wxGTK buildbot builds. This failure seems to only happen on buildbot, at least it couldn't be reproduced after 100 runs of the test locally, so it just doesn't seem possible to debug it. Disable it to allow detecting when other tests fail (which would be unexpected, unlike this one). --- tests/events/propagation.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/events/propagation.cpp b/tests/events/propagation.cpp index 2019b9c019..5663403827 100644 --- a/tests/events/propagation.cpp +++ b/tests/events/propagation.cpp @@ -653,6 +653,13 @@ void EventPropagationTestCase::ContextMenuEvent() CPPUNIT_ASSERT_EQUAL( "cp", g_str ); + // For some unfathomable reason the test below sporadically fails in wxGTK + // buildbot builds, so disable it there to avoid spurious failure reports. +#ifdef __WXGTK__ + if ( IsAutomaticTest() ) + return; +#endif // __WXGTK__ + // Right clicking outside the child should generate the event just in the // parent. g_str.clear();