X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7067a74dd94d0a92aba013652b3bc2ec66837595..d9307d006e88025e28457290c9997f7c0f7c4fdc:/tests/validators/valnum.cpp?ds=sidebyside diff --git a/tests/validators/valnum.cpp b/tests/validators/valnum.cpp index 91675d0c9e..599192e835 100644 --- a/tests/validators/valnum.cpp +++ b/tests/validators/valnum.cpp @@ -61,7 +61,7 @@ private: // register in the unnamed registry so that these tests are run by default CPPUNIT_TEST_SUITE_REGISTRATION( NumValidatorTestCase ); -// also include in it's own registry so that these tests can be run alone +// also include in its own registry so that these tests can be run alone CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( NumValidatorTestCase, "NumValidatorTestCase" ); void NumValidatorTestCase::setUp() @@ -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);