summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/sleep
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/sleep
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/sleep')
-rw-r--r--tests/auto/testlib/selftests/sleep/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/testlib/selftests/sleep/CMakeLists.txt b/tests/auto/testlib/selftests/sleep/CMakeLists.txt
index ea85b03cc1..37e05ef360 100644
--- a/tests/auto/testlib/selftests/sleep/CMakeLists.txt
+++ b/tests/auto/testlib/selftests/sleep/CMakeLists.txt
@@ -15,3 +15,7 @@ add_qt_executable(sleep
## Scopes:
#####################################################################
+
+# special case begin
+qt_apply_testlib_coverage_options(sleep)
+# special case end