aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Buhr <andreas@andreasbuhr.de>2022-04-05 14:26:54 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-04-06 14:57:44 +0000
commit3a46dde44ead5c3a40476d2aa91bd64e843a2e56 (patch)
tree001df89acad0397917d260e8466a1598c30c2a38
parenta88da4c853c465e34f3cd03a68369aa66775d72b (diff)
Property include test data for tst_qqmlenginecleanup
tst_qqmlenginecleanup uses test data, but in was not properly included. This patch includes it. tst_qqmlenginecleanup does not work after this patch, so further repairs are necessary. But this is a required step. Task-number: QTBUG-101865 Change-Id: I4739036249565ce6b78adff8f394436d184d9ae8 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit e0e4cfca957c0451bdcde380b1bc6d9355bca340) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--tests/auto/qml/qqmlenginecleanup/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlenginecleanup/CMakeLists.txt b/tests/auto/qml/qqmlenginecleanup/CMakeLists.txt
index 466f91068d..fcc9358cd3 100644
--- a/tests/auto/qml/qqmlenginecleanup/CMakeLists.txt
+++ b/tests/auto/qml/qqmlenginecleanup/CMakeLists.txt
@@ -4,6 +4,12 @@
## tst_qqmlenginecleanup 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_qqmlenginecleanup
SOURCES
tst_qqmlenginecleanup.cpp
@@ -11,6 +17,7 @@ qt_internal_add_test(tst_qqmlenginecleanup
Qt::Qml
Qt::QmlPrivate
Qt::QuickTestUtilsPrivate
+ TESTDATA ${test_data}
)
## Scopes: