summaryrefslogtreecommitdiffstats
path: root/tests/auto/qeventloop
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@nokia.com>2010-07-23 10:27:19 +0200
committerHarald Fernengel <harald.fernengel@nokia.com>2010-11-02 15:27:11 +0100
commitf7fe120e5cad8329f4b4a9bf9bc7fee0d5fbaf9a (patch)
tree63a163cdba9b6f2c4bd688b0484c6a80f457f1c2 /tests/auto/qeventloop
parent410d46b1cd4da7efc87a9d7cac47f509e1658f03 (diff)
Fixed QEventLoop autotest. Add a restriction in exec().
Only execute when NO_EVENTLOOP_EXCEPTIONS is not set
Diffstat (limited to 'tests/auto/qeventloop')
-rw-r--r--tests/auto/qeventloop/tst_qeventloop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qeventloop/tst_qeventloop.cpp b/tests/auto/qeventloop/tst_qeventloop.cpp
index 8c2ffd93c7..8331a5f072 100644
--- a/tests/auto/qeventloop/tst_qeventloop.cpp
+++ b/tests/auto/qeventloop/tst_qeventloop.cpp
@@ -431,7 +431,7 @@ void tst_QEventLoop::exec()
QCOMPARE(executor.returnCode, -1);
}
-#if !defined(QT_NO_EXCEPTIONS) && !defined(Q_OS_WINCE_WM) && !defined(Q_OS_SYMBIAN)
+#if !defined(QT_NO_EXCEPTIONS) && !defined(Q_OS_WINCE_WM) && !defined(Q_OS_SYMBIAN) && !defined(NO_EVENTLOOP_EXCEPTIONS)
// Windows Mobile cannot handle cross library exceptions
// qobject.cpp will try to rethrow the exception after handling
// which causes gwes.exe to crash