From 7947032e2d1d68b2c0f79874db7adcf560851f29 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Mon, 12 Aug 2019 13:55:40 +0200 Subject: Regenerate coreliob/io tests With a few special cases to make the tests pass. Biggest one is the qlockfile_test_helper. Also a few tests have some problems and have not been ported yet: qfileselector, qresourceengine, qprocess. Change-Id: I91a5210b13e7a0697774d909449a71f46af0a0ba Reviewed-by: Qt CMake Build Bot Reviewed-by: Simon Hausmann --- .../auto/corelib/io/qtemporaryfile/CMakeLists.txt | 27 ++++++++++++++-------- 1 file changed, 18 insertions(+), 9 deletions(-) (limited to 'tests/auto/corelib/io/qtemporaryfile/CMakeLists.txt') diff --git a/tests/auto/corelib/io/qtemporaryfile/CMakeLists.txt b/tests/auto/corelib/io/qtemporaryfile/CMakeLists.txt index 7acf70fd36..b1c324ca17 100644 --- a/tests/auto/corelib/io/qtemporaryfile/CMakeLists.txt +++ b/tests/auto/corelib/io/qtemporaryfile/CMakeLists.txt @@ -4,27 +4,36 @@ ## tst_qtemporaryfile Test: ##################################################################### +# Collect test data +list(APPEND test_data "tst_qtemporaryfile.cpp") + add_qt_test(tst_qtemporaryfile + GUI SOURCES tst_qtemporaryfile.cpp LIBRARIES Qt::TestPrivate + TESTDATA ${test_data} ) # Resources: -add_qt_resource(tst_qtemporaryfile "qtemporaryfile" FILES - resources/test.txt) - +add_qt_resource(tst_qtemporaryfile "qtemporaryfile" + PREFIX + "/" + FILES + "resources/test.txt" +) -#### Keys ignored in scope 1:.:.:qtemporaryfile.pro:: -# CONFIG = "testcase" -# TESTDATA = "tst_qtemporaryfile.cpp" ## Scopes: ##################################################################### # Resources: -add_qt_resource(tst_qtemporaryfile "android_testdata" PREFIX "/android_testdata" FILES - resources/test.txt - tst_qtemporaryfile.cpp) +add_qt_resource(tst_qtemporaryfile "android_testdata" + PREFIX + "/android_testdata" + FILES + "resources/test.txt" + "tst_qtemporaryfile.cpp" +) -- cgit v1.2.3