summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikolaj Boc <mikolaj.boc@qt.io>2023-01-03 14:32:34 +0100
committerMikolaj Boc <mikolaj.boc@qt.io>2023-01-11 19:36:26 +0100
commitcf839fe89dfcb0223a5b140296590d75ef7589e4 (patch)
treea9bfe8ffa1f17b1e5a267efb72b390e86b6806fb
parent5633cb69f68ca3d3b82476f9025d863f804e76c1 (diff)
Disable CMake test project build tests on WASM
The focus is now to run autotests. The _qt_internal_test_expect_pass tests will be handled at a later stage. Fixes: QTBUG-109788 Change-Id: I8a5b5d8b793e5e22faf1876f3d05bc967dbcf777 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
-rw-r--r--src/corelib/Qt6CTestMacros.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/Qt6CTestMacros.cmake b/src/corelib/Qt6CTestMacros.cmake
index fb2ee6d3d0..a27581dd8e 100644
--- a/src/corelib/Qt6CTestMacros.cmake
+++ b/src/corelib/Qt6CTestMacros.cmake
@@ -260,6 +260,9 @@ endfunction()
# so the argument containing list will look as following:
# -DLIST_ARGUMENT=item1[[;]]item2[[;]]...itemN.
macro(_qt_internal_test_expect_pass _dir)
+ if(WASM)
+ return()
+ endif()
set(_test_option_args
SIMULATE_IN_SOURCE
NO_CLEAN_STEP