summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/test/.prev_CMakeLists.txt
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-02-11 14:52:49 +0100
committerTor Arne Vestbø <torarnv@gmail.com>2020-03-24 21:04:43 +0100
commit9fc9fefdc9f598f8d223dc6eab533be4d0abc762 (patch)
tree77b5e9843a10e6ec9cbea18f0cfefbc65636d328 /tests/auto/testlib/selftests/test/.prev_CMakeLists.txt
parent737fe89691a3d8dfa779862c9daaa002e00f3dca (diff)
Restructure testlib selftest project
The use of a single subdirectory only for the test binary, but not the actual source file, just made things harder to discover when looking for the test code. Now all subdirectories are actual sub-tests. Change-Id: Ia3e308ba8d231cc8ead1491b10a34801f76669b0 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/testlib/selftests/test/.prev_CMakeLists.txt')
-rw-r--r--tests/auto/testlib/selftests/test/.prev_CMakeLists.txt45
1 files changed, 0 insertions, 45 deletions
diff --git a/tests/auto/testlib/selftests/test/.prev_CMakeLists.txt b/tests/auto/testlib/selftests/test/.prev_CMakeLists.txt
deleted file mode 100644
index 02d87aa45b..0000000000
--- a/tests/auto/testlib/selftests/test/.prev_CMakeLists.txt
+++ /dev/null
@@ -1,45 +0,0 @@
-# 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"