aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2021-12-14 16:24:15 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-12-17 18:29:55 +0000
commitc638f98db12f2153fb44665608ae219c6fff2f39 (patch)
tree76847bd250d8d1dd0db522b2fdd71cd4f53f57eb /tests
parent096ec9606d6661885baef0d6d5e9f964ecc6348a (diff)
Package tst_signalspy test data otherwise it's not found on Android
Task-number: QTBUG-97056 Change-Id: I29f268b8738c4033d5d855b1652f4a6182de4264 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 7b21a4fbbac34f24bd003fe03c444f203230a50f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/quicktest/signalspy/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/quicktest/signalspy/CMakeLists.txt b/tests/auto/quicktest/signalspy/CMakeLists.txt
index 8160687340..2618073cf3 100644
--- a/tests/auto/quicktest/signalspy/CMakeLists.txt
+++ b/tests/auto/quicktest/signalspy/CMakeLists.txt
@@ -4,6 +4,11 @@
## tst_signalspy Test:
#####################################################################
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
qt_internal_add_test(tst_signalspy
SOURCES
mypropertymap.cpp mypropertymap.h
@@ -12,6 +17,7 @@ qt_internal_add_test(tst_signalspy
Qt::Gui
Qt::Quick
Qt::QuickTestUtilsPrivate
+ TESTDATA ${test_data}
)
## Scopes: