Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.2, 6.3
-
None
-
-
47490648b1 (qt/qtdeclarative/dev)
Description
If a single qml file has multiple TestCase elements, all of which have when-properties that evaluate to true, we might end up in a situation where multiple TestCase elements run their test functions at the same time. I don't how this can happen, as my understanding is that the QML engine is single threaded.
But it happens, and that's bad, as Qt Testlib, which Qt Quick Test uses for reporting, does not expect test functions to be executed in parallel.
WIP patch at https://codereview.qt-project.org/c/qt/qtdeclarative/+/372593
Attachments
Issue Links
- resulted in
-
QTBUG-110592 [REG: 6.4->6.5.0-beta1] Quick tests now open a window
- Closed