diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qml/debugger/shared/debugutil.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qml/debugger/shared/debugutil.cpp b/tests/auto/qml/debugger/shared/debugutil.cpp index df8042ca11..213888ecee 100644 --- a/tests/auto/qml/debugger/shared/debugutil.cpp +++ b/tests/auto/qml/debugger/shared/debugutil.cpp @@ -52,6 +52,8 @@ bool QQmlDebugTest::waitForSignal(QObject *receiver, const char *member, int tim QObject::connect(receiver, member, &loop, SLOT(quit())); timer.start(timeout); loop.exec(); + if (!timer.isActive()) + qWarning("waitForSignal %s timed out after %d ms", member, timeout); return timer.isActive(); } |