wasm: don't disable exceptions for tests
Qt autotests now require exceptions due to usage of QTEST_THROW_ON_FAIL and QTEST_THROW_ON_SKIP. Task-number: QTBUG-121822 Change-Id: I0fa95d61116a2cda1d2955c9d42cac9667ce1b72 Reviewed-by: Lorn Potter <lorn.potter@qt.io>
This commit is contained in:
parent
089f494953
commit
44dbd9bcc7
@ -193,7 +193,7 @@ function(qt_internal_prepare_test_target_flags version_arg exceptions_text gui_t
|
||||
# Qt modules get compiled without exceptions enabled by default.
|
||||
# However, testcases should be still built with exceptions.
|
||||
set(${exceptions_text} "EXCEPTIONS" PARENT_SCOPE)
|
||||
if (${arg_NO_EXCEPTIONS} OR WASM)
|
||||
if (${arg_NO_EXCEPTIONS})
|
||||
set(${exceptions_text} "" PARENT_SCOPE)
|
||||
endif()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user