QTestLib-selftest: Unblock on Windows.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Thu, 22 Dec 2011 14:01:40 +0000 (15:01 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 22 Dec 2011 14:11:32 +0000 (15:11 +0100)
Do not run tests that pop up assert boxes.

Change-Id: Idac94398ff1109605eb33a042dab734eafb1a17a
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
tests/auto/testlib/selftests/tst_selftests.cpp

index 7825ade..cb03611 100644 (file)
@@ -322,7 +322,7 @@ void tst_Selftests::runSubTest_data()
         << "datatable"
         << "datetime"
         << "differentexec"
-#if !defined(QT_NO_EXCEPTIONS) && (!defined(Q_CC_INTEL) || !defined(Q_OS_WIN))
+#if !defined(QT_NO_EXCEPTIONS) && !defined(Q_CC_INTEL) && !defined(Q_OS_WIN)
         // Disable this test on Windows and for intel compiler, as the run-times
         // will popup dialogs with warnings that uncaught exceptions were thrown
         << "exceptionthrow"
@@ -330,7 +330,10 @@ void tst_Selftests::runSubTest_data()
         << "expectfail"
         << "failinit"
         << "failinitdata"
+#if !defined(Q_OS_WIN)
+        // Disable this test on Windows, as the run-time will popup dialogs with warnings
         << "fetchbogus"
+#endif
         << "float"
         << "globaldata"
         << "longstring"