diff options
Diffstat (limited to 'tests/auto/testlib/selftests/test')
-rw-r--r-- | tests/auto/testlib/selftests/test/.prev_CMakeLists.txt | 45 | ||||
-rw-r--r-- | tests/auto/testlib/selftests/test/CMakeLists.txt | 2 |
2 files changed, 46 insertions, 1 deletions
diff --git a/tests/auto/testlib/selftests/test/.prev_CMakeLists.txt b/tests/auto/testlib/selftests/test/.prev_CMakeLists.txt new file mode 100644 index 0000000000..02d87aa45b --- /dev/null +++ b/tests/auto/testlib/selftests/test/.prev_CMakeLists.txt @@ -0,0 +1,45 @@ +# Generated from test.pro. + +##################################################################### +## tst_selftests Test: +##################################################################### + +qt_add_test(tst_selftests + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" + SOURCES + ../../../../shared/emulationdetector.h + ../tst_selftests.cpp + INCLUDE_DIRECTORIES + ../../../../shared + PUBLIC_LIBRARIES + Qt::TestPrivate +) + +file(GLOB resource_glob_0 RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "../expected_*") +foreach(file IN LISTS resource_glob_0) + set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/${file}" PROPERTIES QT_RESOURCE_ALIAS "${file}") +endforeach() + +# Resources: +set(qmake_expected_files_resource_files + ${resource_glob_0} +) + +qt_add_resource(tst_selftests "qmake_expected_files" + PREFIX + "/" + BASE + "$$PWD/.." + FILES + ${qmake_expected_files_resource_files} +) + + +## Scopes: +##################################################################### + +#### Keys ignored in scope 5:.:.:test.pro:NOT ANDROID AND NOT WINRT AND for(file,SUBPROGRAMS): +# TEST_HELPER_INSTALLS = "../$${file}/$${file}" + +#### Keys ignored in scope 7:.:..:../selftests.pri:TARGET Qt::Gui: +# SUBPROGRAMS = "keyboard" "mouse" diff --git a/tests/auto/testlib/selftests/test/CMakeLists.txt b/tests/auto/testlib/selftests/test/CMakeLists.txt index ef7157a247..986e3cfd2f 100644 --- a/tests/auto/testlib/selftests/test/CMakeLists.txt +++ b/tests/auto/testlib/selftests/test/CMakeLists.txt @@ -5,7 +5,6 @@ ##################################################################### qt_add_test(tst_selftests - GUI OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" SOURCES ../../../../shared/emulationdetector.h @@ -59,3 +58,4 @@ qt_add_resource(tst_selftests "qmake_expected_files" # special case begin qt_apply_testlib_coverage_options(tst_selftests) # special case end + |