aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/testlib
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/testlib')
-rw-r--r--src/imports/testlib/TestCase.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/testlib/TestCase.qml b/src/imports/testlib/TestCase.qml
index 71c87224d7..37addd1d7d 100644
--- a/src/imports/testlib/TestCase.qml
+++ b/src/imports/testlib/TestCase.qml
@@ -1323,10 +1323,10 @@ Item {
} else {
qtest_runFunction(prop, null, isBenchmark)
}
- qtest_results.finishTestFunction()
// wait(0) will call processEvents() so objects marked for deletion
// in the test function will be deleted.
wait(0)
+ qtest_results.finishTestFunction()
qtest_results.skipped = false
}