summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-12-22 15:01:40 +0100
committerQt by Nokia <qt-info@nokia.com>2011-12-22 15:11:32 +0100
commit23382669b9d9c15a3fc93fb43384035a9e788aa5 (patch)
tree6502b2c2a2490d9617ed4eb359505118d80f08ca /tests/auto/testlib
parent56f154c747a6623fc8249265262160ac0adbe4cd (diff)
QTestLib-selftest: Unblock on Windows.
Do not run tests that pop up assert boxes. Change-Id: Idac94398ff1109605eb33a042dab734eafb1a17a Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Diffstat (limited to 'tests/auto/testlib')
-rw-r--r--tests/auto/testlib/selftests/tst_selftests.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/testlib/selftests/tst_selftests.cpp b/tests/auto/testlib/selftests/tst_selftests.cpp
index 7825ade183..cb03611af3 100644
--- a/tests/auto/testlib/selftests/tst_selftests.cpp
+++ b/tests/auto/testlib/selftests/tst_selftests.cpp
@@ -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"