From 3a46dde44ead5c3a40476d2aa91bd64e843a2e56 Mon Sep 17 00:00:00 2001 From: Andreas Buhr Date: Tue, 5 Apr 2022 14:26:54 +0200 Subject: 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 (cherry picked from commit e0e4cfca957c0451bdcde380b1bc6d9355bca340) Reviewed-by: Qt Cherry-pick Bot --- tests/auto/qml/qqmlenginecleanup/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) 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: -- cgit v1.2.3