Disable android_deployment_settings test for non-standalone scenario

The test changes couple variables to emulate the user project
environment. These variables also affect the policy handling.
The test will build and work properly only if tests are built
standalone. So add this limitation.

Amends 2e340cea88b6721cf09f24a190aa6a81af81852e

Change-Id: I0cc49bf55bf7763e4c3ecdfa5333fb0453f06794
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit d02c3151b224443b72a7c9d5791ed93325ef21f9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Alexey Edelev 2023-08-25 15:21:44 +02:00 committed by Qt Cherry-pick Bot
parent 6ec1766c5c
commit 65f2d65730

View File

@ -47,6 +47,6 @@ if(QT_FEATURE_xkbcommon AND TARGET Qt::Gui)
add_subdirectory(xkbkeyboard)
endif()
if(ANDROID)
if(ANDROID AND QT_BUILD_STANDALONE_TESTS)
add_subdirectory(android_deployment_settings)
endif()