Build in test data on WASM

Local file system files are difficult to reach on WASM. Build the test
data in so that it's reachable to WASM tests nevertheless.

Change-Id: I65022db7645248d040434759fb60c3076fd65bd8
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Mikolaj Boc 2022-09-01 11:36:49 +02:00
parent 6dd6bf3467
commit 67deefbaaa

View File

@ -611,7 +611,7 @@ function(qt_internal_add_test name)
endif()
endif()
if(ANDROID OR IOS OR INTEGRITY OR arg_BUILTIN_TESTDATA)
if(ANDROID OR IOS OR WASM OR INTEGRITY OR arg_BUILTIN_TESTDATA)
set(builtin_testdata TRUE)
endif()