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 2e340cea88

Pick-to: 6.6
Change-Id: I0cc49bf55bf7763e4c3ecdfa5333fb0453f06794
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
bb10
Alexey Edelev 2023-08-25 15:21:44 +02:00
parent a3cbbe449a
commit d02c3151b2
1 changed files with 1 additions and 1 deletions

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()