From d7f0677368a96df7c4f381affd52323ebce8f978 Mon Sep 17 00:00:00 2001 From: Mikolaj Boc Date: Fri, 10 Mar 2023 12:35:03 +0100 Subject: [PATCH] Skip also QML tests in submodules when batching is on This should be handled later ideally, for now we should skip and QML tests targets are still being produced, which leads to errors on WASM. Task-number: QTBUG-109786 Change-Id: I3d0d1f3115e324c7a0cb036e972226310294b216 Reviewed-by: Joerg Bornemann --- cmake/QtTestHelpers.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/QtTestHelpers.cmake b/cmake/QtTestHelpers.cmake index e42865465c..60b9687d2f 100644 --- a/cmake/QtTestHelpers.cmake +++ b/cmake/QtTestHelpers.cmake @@ -434,7 +434,7 @@ function(qt_internal_add_test name) set(batch_current_test TRUE) endif() - if(batch_current_test) + if(batch_current_test OR (QT_BUILD_TESTS_BATCHED AND arg_QMLTEST)) if (QT_SUPERBUILD OR DEFINED ENV{TESTED_MODULE_COIN}) set(is_qtbase_test FALSE) if(QT_SUPERBUILD)