From 20144aab0b6dd740bc45a873526e17af49a41767 Mon Sep 17 00:00:00 2001 From: David Skoland Date: Tue, 4 Oct 2022 14:33:48 +0200 Subject: wasm: Make Chrome default testing browser MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently, emrun will pick the browser to run tests on somewhat arbitrarily. For predictability and stability, we should use one browser as a basis, and Chrome seems to be a good fit as wasm features are generally in good shape on it and it has good support for launching from command-line. Change-Id: I1d06a5916ad24ab9df9b0826c0773c652e6d3fcd Reviewed-by: Morten Johan Sørvig --- cmake/QtTestHelpers.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmake/QtTestHelpers.cmake') diff --git a/cmake/QtTestHelpers.cmake b/cmake/QtTestHelpers.cmake index 988d45ca16..43b75768f0 100644 --- a/cmake/QtTestHelpers.cmake +++ b/cmake/QtTestHelpers.cmake @@ -555,6 +555,8 @@ function(qt_internal_add_test name) list(APPEND extra_test_args "quseemrun") list(APPEND extra_test_args "qtestname=${testname}") list(APPEND extra_test_args "--silence_timeout=60") + # TODO: Add functionality to specify browser + list(APPEND extra_test_args "--browser=chrome") # This tells cmake to run the tests with this script, since wasm files can't be # executed directly -- cgit v1.2.3