summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2023-08-25 15:21:44 +0200
committerAlexey Edelev <alexey.edelev@qt.io>2023-08-25 18:37:23 +0200
commitd02c3151b224443b72a7c9d5791ed93325ef21f9 (patch)
tree09e5460678880e5dfb67f2015cf416db0ffcf479
parenta3cbbe449a1946d1f50930859efe5f003cf6fda6 (diff)
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 Pick-to: 6.6 Change-Id: I0cc49bf55bf7763e4c3ecdfa5333fb0453f06794 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r--tests/auto/other/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/other/CMakeLists.txt b/tests/auto/other/CMakeLists.txt
index 5e2be543b5..16f96cd5f4 100644
--- a/tests/auto/other/CMakeLists.txt
+++ b/tests/auto/other/CMakeLists.txt
@@ -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()