From 1558153360012bce03bc5899fb9b677c6fb30b55 Mon Sep 17 00:00:00 2001 From: Mikolaj Boc Date: Thu, 5 Jan 2023 15:26:21 +0100 Subject: [PATCH] Kill the browser that CI on wasm opens for testing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise CI hangs if no existing browser can be reused (typical case) Fixes: QTBUG-109876 Change-Id: I63436a23c23c4b74c27c18effafde53bb6a4a34e Reviewed-by: Morten Johan Sørvig --- cmake/QtTestHelpers.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/QtTestHelpers.cmake b/cmake/QtTestHelpers.cmake index f84e0917b11..4facf13c030 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