summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorDavid Skoland <david.skoland@qt.io>2022-10-04 14:33:48 +0200
committerDavid Skoland <david.skoland@qt.io>2022-10-11 16:10:58 +0200
commit20144aab0b6dd740bc45a873526e17af49a41767 (patch)
tree11b068fcb2de8fbf369e457041f3d2d312ec3355 /cmake
parent89826b997081e4802a85476c9610cb405f12f892 (diff)
wasm: Make Chrome default testing browser
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 <morten.sorvig@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtTestHelpers.cmake2
1 files changed, 2 insertions, 0 deletions
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