qt5base-lts/tests/auto/testlib/selftests/watchdog/watchdog.pro
Edward Welbourne 7c7e007794 Add a testlib selftest for the watchdog
Verify that it does cut in after the specified time has elapsed.

Task-number: QTPM-1385
Change-Id: Ib18e8d6af28339f79cca4d62b869287ce07b8cc1
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
2018-12-06 18:29:47 +00:00

15 lines
331 B
Prolog

SOURCES += tst_watchdog.cpp
QT = core testlib
darwin: CONFIG -= app_bundle
CONFIG -= debug_and_release_target
TARGET = watchdog
# The test deliberately times out; so tell it to do so quickly
checkenv.name = QTEST_FUNCTION_TIMEOUT
checkenv.value = 100
QT_TOOL_ENV += checkenv
include($$QT_SOURCE_TREE/src/testlib/selfcover.pri)