summaryrefslogtreecommitdiffstats
path: root/src/testlib/selfcover.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'src/testlib/selfcover.cmake')
-rw-r--r--src/testlib/selfcover.cmake7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/testlib/selfcover.cmake b/src/testlib/selfcover.cmake
index c04ffa7b01..9addaf645b 100644
--- a/src/testlib/selfcover.cmake
+++ b/src/testlib/selfcover.cmake
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
+
#
# Hand crafted file based on selfcover.pri
#
@@ -17,7 +20,7 @@ endif()
# This enables verification that testlib itself is adequately tested,
# as a grounds for trusting that testing with it is useful.
-function(qt_apply_testlib_coverage_options target)
+function(qt_internal_apply_testlib_coverage_options target)
if (NOT FEATURE_testlib_selfcover)
return()
endif()
@@ -28,7 +31,7 @@ function(qt_apply_testlib_coverage_options target)
--cs-mcc # enable Multiple Condition Coverage
--cs-mcdc # enable Multiple Condition / Decision Coverage
# (recommended for ISO 26262 ASIL A, B and C -- highly recommended for ASIL D)
- # https://doc.froglogic.com/squish-coco/4.1/codecoverage.html#sec%3Amcdc
+ # https://doc.qt.io/coco/code-coverage-analysis.html#mc-dc
)
target_compile_options(${target} PRIVATE
${testlib_coverage_options}