summaryrefslogtreecommitdiffstats
path: root/cmake/QtTestHelpers.cmake
diff options
context:
space:
mode:
authorPiotr Wierciński <piotr.wiercinski@qt.io>2023-09-18 15:24:20 +0200
committerPiotr Wierciński <piotr.wiercinski@qt.io>2023-10-26 13:43:39 +0200
commit4f168621d2da5c9f99e232a6ea24980302cb01b5 (patch)
tree4cb7e6745984920e0d80ab25c086ee2789ade098 /cmake/QtTestHelpers.cmake
parentd1f40ea0873a36288c6493f1ed5c9952064b9144 (diff)
wasm: Fix test runner for asynchronous tests
Test runner was not properly handling tests which return the control back to browser event loop. It was treating such tests as if they exited with code 0, marking them as succesfull even if they were eventually failing or hanging. This commit adds a callback to TestCase so the runner is notified when a test truly has finished. As a side effect, two tests need to be disabled for now as they are failing for wasm, which was not properly detected previously. Change-Id: I0eb9383e5bb9cd660431c18747b9e94413629d1e Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'cmake/QtTestHelpers.cmake')
0 files changed, 0 insertions, 0 deletions