diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-11-12 11:53:30 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-11-12 17:24:44 +0000 |
commit | 76590ce2208e754f87e5b75c0c1de425c34e0b1a (patch) | |
tree | d76e16f0a1d211135dcb54c4d2fe344a09c46663 /tests/auto/corelib/io/qtemporaryfile | |
parent | 681e8b4ead432b2658b0be9f90454bbdbd80d1b1 (diff) |
Regenerate tests/auto/corelib/io
Change-Id: Ic1d1b5c0deb90800c7219fb8cce4e77e0db145b8
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Qt CMake Build Bot
Diffstat (limited to 'tests/auto/corelib/io/qtemporaryfile')
-rw-r--r-- | tests/auto/corelib/io/qtemporaryfile/CMakeLists.txt | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/tests/auto/corelib/io/qtemporaryfile/CMakeLists.txt b/tests/auto/corelib/io/qtemporaryfile/CMakeLists.txt index b1c324ca17..693e2c674c 100644 --- a/tests/auto/corelib/io/qtemporaryfile/CMakeLists.txt +++ b/tests/auto/corelib/io/qtemporaryfile/CMakeLists.txt @@ -8,7 +8,6 @@ list(APPEND test_data "tst_qtemporaryfile.cpp") add_qt_test(tst_qtemporaryfile - GUI SOURCES tst_qtemporaryfile.cpp LIBRARIES @@ -17,23 +16,32 @@ add_qt_test(tst_qtemporaryfile ) # Resources: +set(qtemporaryfile_resource_files + "resources/test.txt" +) + add_qt_resource(tst_qtemporaryfile "qtemporaryfile" PREFIX "/" FILES - "resources/test.txt" + ${qtemporaryfile_resource_files} ) ## Scopes: ##################################################################### -# Resources: -add_qt_resource(tst_qtemporaryfile "android_testdata" - PREFIX - "/android_testdata" - FILES +if(ANDROID AND NOT ANDROID_EMBEDDED) + # Resources: + set(android_testdata_resource_files "resources/test.txt" "tst_qtemporaryfile.cpp" -) - + ) + + add_qt_resource(tst_qtemporaryfile "android_testdata" + PREFIX + "/android_testdata" + FILES + ${android_testdata_resource_files} + ) +endif() |