You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
325 B
7 lines
325 B
9 years ago
|
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}")
|