aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Buhr <andreas@andreasbuhr.de>2022-04-05 15:51:36 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-04-06 03:02:36 +0000
commit66a7e2ae624a2bb5eecd482f9711305fe9e4c285 (patch)
tree12b3a1ad95a44f6fe153e0374de0b3d9b10eec81
parent4d8176e86d1bca148d64395e500d9c90165f81f2 (diff)
Repair tst_qquickscreen on Android
For tst_qquickscreen, not all required test data was included. This patch fixes that. Task-number: QTBUG-101865 Task-number: QTBUG-101909 Change-Id: Iff072d25c747553bfc0831b6b2c23faa87f78e8d Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 35678b086e6083a83cca65a973b35c985d44b133) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--tests/auto/quick/qquickscreen/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickscreen/CMakeLists.txt b/tests/auto/quick/qquickscreen/CMakeLists.txt
index a4fca2bca4..d78b38d16e 100644
--- a/tests/auto/quick/qquickscreen/CMakeLists.txt
+++ b/tests/auto/quick/qquickscreen/CMakeLists.txt
@@ -4,6 +4,12 @@
## tst_qquickscreen Test:
#####################################################################
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
qt_internal_add_test(tst_qquickscreen
SOURCES
tst_qquickscreen.cpp
@@ -14,6 +20,7 @@ qt_internal_add_test(tst_qquickscreen
Qt::QmlPrivate
Qt::QuickPrivate
Qt::QuickTestUtilsPrivate
+ TESTDATA ${test_data}
)
## Scopes: