]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/validators/valnum.cpp
implementing delayed freezing, fixes #12865
[wxWidgets.git] / tests / validators / valnum.cpp
index dd2d0e983579872d54c2e2077f7a13a4f724ca70..599192e835ab332c8557f8ddb3d8c33729e733cc 100644 (file)
@@ -204,11 +204,13 @@ void NumValidatorTestCase::NoTrailingZeroes()
 
 void NumValidatorTestCase::Interactive()
 {
+#ifdef __WXMSW__
     // FIXME: This test fails on MSW buildbot slaves although works fine on
     //        development machine, no idea why. It seems to be a problem with
     //        wxUIActionSimulator rather the wxListCtrl control itself however.
-    if ( wxGetUserId().Lower().Matches("buildslave*") )
+    if ( IsAutomaticTest() )
         return;
+#endif // __WXMSW__
 
     // Set a locale using comma as thousands separator character.
     wxLocale loc(wxLANGUAGE_ENGLISH_UK, wxLOCALE_DONT_LOAD_DEFAULT);