summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestStopTime
Commit message (Collapse)AuthorAgeFilesLines
* Tests: make tests pass with SOURCE_DATE_EPOCH setBernhard M. Wiedemann2017-01-301-0/+1
| | | | | | | | | Fix tests to account for commit 243aed52 (cmTimestamp: Support SOURCE_DATE_EPOCH to override current time, 2017-01-25). In openSUSE we are running the test-suite as part of the build and that failed in these two places when building everything with `SOURCE_DATE_EPOCH` set.
* Add additional <= and >= comparison operatorsChuck Atkins2016-08-091-2/+2
| | | | | This adds the LESS_EQUAL, GREATER_EQUAL, and associated STR and VERSION equivalents to use the combined <= and >= functionality.
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-5/+4
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* Tests: Add generator platform supportBrad King2014-09-101-0/+1
| | | | | Propagate CMAKE_GENERATOR_PLATFORM through the test hierarchy so that all tests can build with the selected generator platform, if any.
* Update CDash server URLBrad King2014-06-241-2/+2
| | | | It is now at open.cdash.org and does not start in "/CDash".
* Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variablesBrad King2014-03-031-2/+2
| | | | s/CMAKE_TEST_GENERATOR/CMAKE_GENERATOR/g
* Tests: use string(TIMESTAMP) instead of system and locale specific date/timeNils Gladitz2013-10-261-132/+31
|
* CTestTest*: Update minimum required CMake to 2.4Brad King2013-10-232-2/+2
| | | | We will soon deprecate support for compatibility with CMake < 2.4.
* Tests: Add generator toolset supportBrad King2013-02-071-0/+1
| | | | | Propagate CMAKE_GENERATOR_TOOLSET through the test hierarchy so that all tests can build with the selected generator toolset, if any.
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-25/+25
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Convert CMake-language commands to lower caseKitware Robot2012-08-133-137/+137
| | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Tests: Eliminate unnecessary files and variables.David Cole2011-01-281-3/+0
| | | | | | | | | | | | | | | | | | | | | 1: The CTestTestFailedSubmits tests do not need to run the CTEST_MEMCHECK command. It is covered by the CTestTest2 test. If more coverage *is* required, choose a test that runs by itself once to add it to... This one gets used several times in a loop to test submission failure via the various submission protocols. With memchecking on, each test here takes 1000 seconds or more on a "fast" build... 2: Other ctest tests do not need any of the CTEST_MEMORYCHECK_* variables defined. They don't even call CTEST_MEMCHECK, or -D NightlyMemCheck, or anything. So: remove the unnecessary set calls. 3: CTestTest3 has gone intentionally unused for months because it did not add any coverage and caused no ends of sporadic randomish failures when network connectivity was spotty. Remove its directory. Never add it again.
* Fix for StopTime for cases when gmtime is a day ahead of localtimeZach Mullen2010-03-181-2/+2
|
* More debugging of StopTime testZach Mullen2010-03-182-3/+16
|
* Output times during StopTime test for debuggingZach Mullen2010-03-171-0/+4
|
* Move get_date call closer to ctest_test for more predictable results.Zach Mullen2010-03-171-3/+4
|
* Add the --stop-time argumentZach Mullen2010-03-175-0/+288
Unit test and script hook for STOP_TIME