diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-04-29 18:49:36 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2020-04-29 19:36:12 (GMT) |
commit | 4f2fa2459a6918846a915099a16d081854b0a846 (patch) | |
tree | 711c1d7b01b58df7d3ce7a733b138b775cfe38eb /Tests/RunCMake/ctest_start/test.cmake.in | |
parent | c1397ace1dfc595c02e9cc7ee8392c085530c014 (diff) | |
download | CMake-4f2fa2459a6918846a915099a16d081854b0a846.zip CMake-4f2fa2459a6918846a915099a16d081854b0a846.tar.gz CMake-4f2fa2459a6918846a915099a16d081854b0a846.tar.bz2 |
Tests: Add tests to demonstrate when CTEST_NIGHTLY_START_TIME is needed
Diffstat (limited to 'Tests/RunCMake/ctest_start/test.cmake.in')
-rw-r--r-- | Tests/RunCMake/ctest_start/test.cmake.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/RunCMake/ctest_start/test.cmake.in b/Tests/RunCMake/ctest_start/test.cmake.in index 8cd3cff..4063ece 100644 --- a/Tests/RunCMake/ctest_start/test.cmake.in +++ b/Tests/RunCMake/ctest_start/test.cmake.in @@ -8,7 +8,9 @@ set(CTEST_CMAKE_GENERATOR "@RunCMake_GENERATOR@") set(CTEST_CMAKE_GENERATOR_PLATFORM "@RunCMake_GENERATOR_PLATFORM@") set(CTEST_CMAKE_GENERATOR_TOOLSET "@RunCMake_GENERATOR_TOOLSET@") set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}") -set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC") +if(NOT "@CASE_NAME@" MATCHES "^NoStartTime") + set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC") +endif() function(setup_tests) ctest_start(${ctest_start_args}) |