summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CTestTimeoutAfterMatch/CMakeLists.txt.in
blob: e9592f6d17d51254f6d53d7fdddf4b9408b431d0 (plain)
1
2
3
4
5
6
cmake_minimum_required(VERSION 3.4)
project(TimeoutAfterMatch NONE)
include(CTest)
add_test(NAME SleepFor1Second COMMAND "${CMAKE_COMMAND}" -P ${CMAKE_SOURCE_DIR}/SleepFor1Second.cmake)
set_property(TEST SleepFor1Second PROPERTY TIMEOUT 30)
set_property(TEST SleepFor1Second PROPERTY TIMEOUT_AFTER_MATCH "${arg1}" "${arg2}")