summaryrefslogtreecommitdiff
path: root/cmake/QtTestHelpers.cmake
diff options
context:
space:
mode:
authorMikolaj Boc <mikolaj.boc@qt.io>2023-01-05 15:26:21 +0100
committerMikolaj Boc <mikolaj.boc@qt.io>2023-01-12 04:34:34 +0100
commit1558153360012bce03bc5899fb9b677c6fb30b55 (patch)
tree80987a38aadb6b5149a88a4c3966b5c260c382ee /cmake/QtTestHelpers.cmake
parentf090a4785b99573dd5a506fec655df1abe347e7c (diff)
downloadqtbase-1558153360012bce03bc5899fb9b677c6fb30b55.tar.gz
Kill the browser that CI on wasm opens for testing
Otherwise CI hangs if no existing browser can be reused (typical case) Fixes: QTBUG-109876 Change-Id: I63436a23c23c4b74c27c18effafde53bb6a4a34e Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'cmake/QtTestHelpers.cmake')
-rw-r--r--cmake/QtTestHelpers.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/QtTestHelpers.cmake b/cmake/QtTestHelpers.cmake
index f84e0917b1..4facf13c03 100644
--- a/cmake/QtTestHelpers.cmake
+++ b/cmake/QtTestHelpers.cmake
@@ -574,6 +574,7 @@ function(qt_internal_add_test name)
# TODO: Add functionality to specify browser
list(APPEND extra_test_args "--browser=chrome")
list(APPEND extra_test_args "--browser_args=\"--password-store=basic\"")
+ list(APPEND extra_test_args "--kill_exit")
# We always want to enable asyncify for tests, as some of them use exec
# Optimize for size (-Os), since asyncify tends to make the resulting