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 --- tests/auto/corelib/io/qiodevice/CMakeLists.txt | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'tests/auto/corelib/io/qiodevice') diff --git a/tests/auto/corelib/io/qiodevice/CMakeLists.txt b/tests/auto/corelib/io/qiodevice/CMakeLists.txt index d47a72241a..c33870a9c6 100644 --- a/tests/auto/corelib/io/qiodevice/CMakeLists.txt +++ b/tests/auto/corelib/io/qiodevice/CMakeLists.txt @@ -4,22 +4,29 @@ ## tst_qiodevice Test: ##################################################################### +# Collect test data +list(APPEND test_data "tst_qiodevice.cpp") + add_qt_test(tst_qiodevice + GUI SOURCES tst_qiodevice.cpp PUBLIC_LIBRARIES Qt::Network + TESTDATA ${test_data} ) #### Keys ignored in scope 1:.:.:qiodevice.pro:: -# CONFIG = "testcase" # MOC_DIR = "tmp" -# TESTDATA = "tst_qiodevice.cpp" ## Scopes: ##################################################################### # Resources: -add_qt_resource(tst_qiodevice "android_testdata" PREFIX "/" FILES - tst_qiodevice.cpp) +add_qt_resource(tst_qiodevice "android_testdata" + PREFIX + "/" + FILES + "tst_qiodevice.cpp" +) -- cgit v1.2.3