summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/pass
diff options
context:
space:
mode:
authorLeander Beernaert <leander.beernaert@qt.io>2020-03-17 11:15:10 +0100
committerLeander Beernaert <leander.beernaert@qt.io>2020-03-18 16:28:30 +0100
commitdfd37e27caca37594d43c3b096f711e830c2733d (patch)
treea37f1fe5e922233869d613b1221b0e9dfb53739b /tests/auto/testlib/selftests/pass
parent64bda9d91588c9d8d22a16a41c28d845ab6a935e (diff)
CMake: Enable testlib selftests
This patch adds the equivalent of testlib's selfcover.pri and is enabled for both testlib and the respective selftests test. This patch also fixes the selftests so that they can run without FEATURE_testlib_selfcover enabled. Change-Id: I15913de2d572ac79804ce3e652cee66de74318f8 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/testlib/selftests/pass')
-rw-r--r--tests/auto/testlib/selftests/pass/CMakeLists.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/auto/testlib/selftests/pass/CMakeLists.txt b/tests/auto/testlib/selftests/pass/CMakeLists.txt
new file mode 100644
index 0000000000..3601eaa3d4
--- /dev/null
+++ b/tests/auto/testlib/selftests/pass/CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from pass.pro.
+
+#####################################################################
+## pass Binary:
+#####################################################################
+
+qt_add_executable(pass
+ NO_INSTALL # special case
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" # special case
+ SOURCES
+ tst_pass.cpp
+ PUBLIC_LIBRARIES
+ Qt::Test
+)
+
+## Scopes:
+#####################################################################
+
+# special case begin
+qt_apply_testlib_coverage_options(pass)
+# special case end