diff options
author | Brad King <brad.king@kitware.com> | 2023-05-05 16:43:33 +0000 |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-05-05 12:43:50 -0400 |
commit | 250f66acfea5f2842f1bef6bc8ee2d724dc8569e (patch) | |
tree | 9595b66bb179652babf203d54d1e7332c1a9d56c /Tests/RunCMake/CTestTimeout/CMakeLists.txt.in | |
parent | 5924630e6d4a383ef76412a6f560fbe852837e50 (diff) | |
parent | 0a5aeaf302369ab62f89ab35b0f0fb690f71c05a (diff) | |
download | cmake-250f66acfea5f2842f1bef6bc8ee2d724dc8569e.tar.gz |
Merge topic 'ctest-timeout-zero'
0a5aeaf302 cmCTestRunTest: Consolidate test timeout selection logic
426e38cc10 cmCTestRunTest: Adopt decision for starting cmProcess timer
59336b29bd cmCTestRunTest: Remove unnecessary arguments to ForkProcess
07b5087ba7 Help: Document meaning of TIMEOUT test property with value 0
3edf7fbb41 ctest: Fix TIMEOUT test property with value 0 with --timeout flag
39a20a56dd Tests: Move `CTestTestZeroTimeout` into `RunCMake.CTestTimeout`
cd4038fe94 cmCTestTestHandler: Use in-class initialization of properties and results
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8455
Diffstat (limited to 'Tests/RunCMake/CTestTimeout/CMakeLists.txt.in')
-rw-r--r-- | Tests/RunCMake/CTestTimeout/CMakeLists.txt.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CTestTimeout/CMakeLists.txt.in b/Tests/RunCMake/CTestTimeout/CMakeLists.txt.in index 20faa946f8..ee3323c0f9 100644 --- a/Tests/RunCMake/CTestTimeout/CMakeLists.txt.in +++ b/Tests/RunCMake/CTestTimeout/CMakeLists.txt.in @@ -4,7 +4,7 @@ include(CTest) add_executable(TestTimeout TestTimeout.c) -if(NOT TIMEOUT) +if(NOT DEFINED TIMEOUT) set(TIMEOUT 4) endif() target_compile_definitions(TestTimeout PRIVATE TIMEOUT=${TIMEOUT}) |