CMake/Tests/CTestTestZeroTimeout/CMakeLists.txt

9 lines
225 B
CMake

cmake_minimum_required (VERSION 2.6)
project (CTestTestZeroTimeout)
include (CTest)
add_executable (Sleep sleep.c)
add_test (TestExplicitZeroTimeout Sleep)
set_tests_properties(TestExplicitZeroTimeout PROPERTIES TIMEOUT 0)