dfd37e27ca
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>
27 lines
708 B
CMake
27 lines
708 B
CMake
# Generated from watchdog.pro.
|
|
|
|
#####################################################################
|
|
## watchdog Binary:
|
|
#####################################################################
|
|
|
|
add_qt_executable(watchdog
|
|
NO_INSTALL # special case
|
|
OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} # special case
|
|
SOURCES
|
|
tst_watchdog.cpp
|
|
PUBLIC_LIBRARIES
|
|
Qt::Test
|
|
)
|
|
|
|
#### Keys ignored in scope 1:.:.:watchdog.pro:<TRUE>:
|
|
# QT_TOOL_ENV = "checkenv"
|
|
# checkenv.name = "QTEST_FUNCTION_TIMEOUT"
|
|
# checkenv.value = "100"
|
|
|
|
## Scopes:
|
|
#####################################################################
|
|
|
|
# special case begin
|
|
qt_apply_testlib_coverage_options(watchdog)
|
|
# special case end
|