Skip wxTopLevelWindow showing/activation tests in CI builds

It doesn't seem to work when run unattended, for whatever reason.
This commit is contained in:
Vadim Zeitlin
2017-11-22 21:23:35 +01:00
parent ba5a203105
commit 0c29775d4d

View File

@@ -59,6 +59,13 @@ static void TopLevelWindowShowTest(wxTopLevelWindow* tlw)
TEST_CASE("wxTopLevel::Show", "[tlw][show]") TEST_CASE("wxTopLevel::Show", "[tlw][show]")
{ {
if ( IsAutomaticTest() )
{
// For some reason, activation test doesn't work when running under
// AppVeyor, so skip it to avoid spurious failures.
return;
}
SECTION("Dialog") SECTION("Dialog")
{ {
wxDialog* dialog = new wxDialog(NULL, -1, "Dialog Test"); wxDialog* dialog = new wxDialog(NULL, -1, "Dialog Test");