Improve reliability of v4 debugger tests
authorSimon Hausmann <simon.hausmann@digia.com>
Tue, 13 Aug 2013 10:00:39 +0000 (12:00 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 15 Aug 2013 09:52:22 +0000 (11:52 +0200)
commitaeac974b8361e9f92684a0f7cb7e38f4763bb7f1
tree990efe4c35ac3cffea120b740513597fab181950
parentaad119d043bb51a42e4f55ae1708f5e31f06e14c
Improve reliability of v4 debugger tests

Sometimes the test hangs on shutdown. Don't wait for the finished signal to be
emitted with an event loop, instead do the QThread equivalent of pthread_join:
wait().

Change-Id: I3583e8366c08fc0446682d124d86df4ffa3290d3
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
tests/auto/qml/qv4debugger/tst_qv4debugger.cpp