From cf839fe89dfcb0223a5b140296590d75ef7589e4 Mon Sep 17 00:00:00 2001 From: Mikolaj Boc Date: Tue, 3 Jan 2023 14:32:34 +0100 Subject: [PATCH] Disable CMake test project build tests on WASM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/corelib/Qt6CTestMacros.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/corelib/Qt6CTestMacros.cmake b/src/corelib/Qt6CTestMacros.cmake index fb2ee6d3d0f..a27581dd8e3 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