summaryrefslogtreecommitdiffstats
path: root/Source/CTest
Commit message (Collapse)AuthorAgeFilesLines
* Fix shadowed local warning in coverage handlerZach Mullen2010-05-121-3/+3
|
* Change coverage globbing mechanism to resolve paths earlierZach Mullen2010-05-071-12/+15
|
* CTest: Submit author email in Update.xmlBrad King2010-05-075-2/+5
| | | | | | | Add the <Email>...</Email> element in Update.xml for each commit reported. This field was defined by Dart but never really used. Distributed version control systems use author name and email instead of a user id, so now it makes sense to use this field.
* Teach ctest_update about Git submodulesBrad King2010-05-041-2/+11
| | | | | | | | | | | Git does not automatically checkout the matching version of a submodule when it checks out a new version of the parent project in the work tree. If the submodule reference changed in the parent project then we were reporting the submodule path as a local modification. Work around the problem in ctest_update using "git submodule update" after "git pull". For projects with no submodules this is a no-op. See issue #10662. Also add a submodule to the test project for CTest.UpdateGIT to test the work-around.
* Fix for for bug #10550, fix some errors for an old Sun compiler.Bill Hoffman2010-04-282-0/+2
|
* ctest_update: Report failure in Update.xmlBrad King2010-04-271-0/+1
| | | | | | Report in <UpdateReturnStatus> when the update command line returns non-zero. Otherwise the failure may be silently ignored since the error was previously recorded only in the local log file.
* Coverage glob should search in Source dirZach Mullen2010-04-231-3/+9
|
* Implement extra coverage globbingZach Mullen2010-04-232-1/+87
|
* Fix intermingling of test environments when tests run in parallel.David Cole2010-03-302-16/+6
| | | | | | | | | | | | The SaveRestoreEnvironment helper object makes sure that the original environment is restored immediately after the StartProcess call returns rather than waiting for the end of the test. When tests are executed in parallel, there is no guarantee about the ordering of EndTest calls relative to StartTest calls. In fact, it would be odd for them to be nested nicely. Therefore, to avoid the corruption of the calling ctest's environment, the original environment must be restored before ForkProcess returns.
* Better detection of stop_time being passed.Zach Mullen2010-03-191-3/+3
|
* Fix StopTime to also account for localtime being a day ahead of gmtimeZach Mullen2010-03-181-4/+5
|
* Fix for StopTime for cases when gmtime is a day ahead of localtimeZach Mullen2010-03-181-6/+17
|
* More debugging of StopTime testZach Mullen2010-03-181-0/+2
|
* Test using std::minZach Mullen2010-03-171-2/+2
|
* Replace min() call with its literal definitionZach Mullen2010-03-171-1/+2
|
* Add the --stop-time argumentZach Mullen2010-03-174-5/+65
| | | | Unit test and script hook for STOP_TIME
* Add unit test for RESOURCE_LOCK test propertyZach Mullen2010-03-031-3/+6
|
* Added RESOURCE_LOCK test property.Zach Mullen2010-03-025-4/+54
|
* Close ifstream.Zach Mullen2010-03-011-1/+5
|
* If tests failed on the last run, have them run first next timeZach Mullen2010-03-012-3/+33
|
* Configurable path to CTest cost data fileZach Mullen2010-03-011-5/+3
| | | | Allow the user to set the CMake variable CTEST_COST_DATA_FILE, which will be used to store the cost data from test runs. If not set, defaults to the original location in the build tree Testing/Temporary dir.
* Use historical average of test times to schedule tests.Zach Mullen2010-02-266-23/+115
|
* BUG: We shouldn't be setting the HideWindow option on the test processes we ↵Zach Mullen2010-02-191-1/+0
| | | | create.
* Fix for fix for issue #2336 - do not specify CMAKE_BUILD_TYPE when the ctest ↵David Cole2010-02-101-1/+2
| | | | -C configuration type string is empty.
* cmCTestGIT: Refresh index for local modificationsBrad King2010-02-091-2/+8
| | | | | | | | We use 'git diff-index' to detect local modifications after pull. On some filesystems the work tree timestamps of a few files may be dated after the index, making them appear as locally modified. We address the problem by using 'git update-index --refresh' to refresh the index and avoid false local modifications.
* cmCTestBZR: Strip trailing slashes from pathsBrad King2010-02-091-2/+6
| | | | | | | Our internal path processing methods assume no trailing slashes, but bzr adds trailing slashes to updated directories. This can lead to empty entries in Update.xml files. We address the problem by stripping the slashes as soon as they are parsed.
* Support for relative paths to executables in MemCheck tests. Also fixed a ↵Zach Mullen2010-02-041-1/+3
| | | | bug causing memcheck args to be overwritten repetitively.
* Re-enabled Scheduler test and fixed the underlying problem.Zach Mullen2010-02-031-1/+1
|
* Fix for issue #5041 - improve error messages that may occur during ↵David Cole2009-12-292-4/+21
| | | | | | ctest_build and ctest_configure. The improved text gives very clear information when either the CMakeLists.txt or CTestConfig.cmake file is missing. Hopefully, it makes it easier for those poor future souls who encounter these messages to solve their problems quickly.
* Fix issue #10060 - add APPEND arg to ctest_start command.David Cole2009-12-292-3/+29
| | | | If APPEND is given to ctest_start, it will read the tag from the current existing Testing/TAG file rather than creating a new one based on the current time stamp. This allows a developer to run several dashboard scripts in a row, all of which will share the same tag/stamp/buildid when they finally get submitted to CDash. Now you can split the running of build phases and test phases for the same dashboard row into multiple scripts.
* Preserve environment variables across calls to ↵David Cole2009-12-231-0/+4
| | | | cmCTestScriptHandler::RunConfigurationScript. This will help prevent problems like we are currently experiencing (regarding CMake continuous dashboards only running once each day because the HOME environment variable is modified indirectly by a command in a called script, but affects the environment in the calling script).
* Use human-readable Git commit times in Update.xmlBrad King2009-12-211-4/+18
| | | | | | | | | | | | | Previously we produced commit times formatted like 1261403774 -0500 which is what the Git plumbing prints. Now we use a human-readable format like 2009-12-21 15:28:06 -0500 which is still easy to machine-parse.
* Fix size type conversion warning in RunTest.Zach Mullen2009-12-211-1/+1
|
* Fix segfault on Borland compiler resulting from divide by 0.Zach Mullen2009-12-181-16/+12
|
* Use literal quotes in Update.xml UpdateCommandBrad King2009-12-181-1/+2
| | | | | | Previously we escaped quotes in <UpdateCommand>...</UpdateCommand> values using '&quot;'. This is not necessary because the value is in xml CDATA and not an xml attribute.
* Submit Subversion directory path in Update.xmlBrad King2009-12-182-0/+10
| | | | | | | | | | A Subversion revision is unique across the entire repository, but work trees typically correspond only to a subdirectory below the root path. In order to specify the version of the source code that was tested, CTest now submits a <SVNPath> element in Update.xml that specifies the directory of the repository that corresponds to the work tree. In combination with the revision number this uniquely specifies the tested source. See issue #7541.
* Submit global tree revision in Update.xmlBrad King2009-12-182-0/+16
| | | | | | | We teach CTest to report in a <Revision> element the revision of the source tree that was tested. This makes sense for all modern VCS tools because they version the whole tree. We simply omit this element for CVS because it only versions files. See issue #7541.
* Fix output compression error messageZach Mullen2009-12-171-2/+1
|
* CTest output submitted to the dashboard is now compressed by default.Zach Mullen2009-12-174-3/+86
|
* Added an option to conditionally attach files to a test submission only if ↵Zach Mullen2009-12-162-4/+24
| | | | the test does not pass. Also some preliminary changes for test output compression.
* Changed XML formatting of files attached to test so that each file is ↵Zach Mullen2009-12-152-27/+18
| | | | archived and marked up individually, in order to make things easier on the CDash side. Also switched to using the NamedMeasurement tag instead of a new tag.
* CTest-side changes to allow users to attach arbitrary files to test results ↵Zach Mullen2009-12-152-2/+95
| | | | that will be submitted to cdash using the ATTACHED_FILES test property.
* Added a "-http1.0" option to ctest to make it submit using curl's http 1.0 ↵Zach Mullen2009-12-112-4/+57
| | | | option. Also added parsing of html reponse output to determine whether errors or warnings were sent in response from the server. If errors or warnings occurred, the response is output to stdout, and the "submission successful" message has been changed to accurately reflect whether or not warnings or errors were returned with the response.
* Restore the "***Not Run" message to ctest command line output for tests ↵Zach Mullen2009-12-101-0/+5
| | | | which did not start due to missing/bad executables or missing required files.
* Unfortunately, I noticed the comment on bug 8668 too late. This changes my ↵Zach Mullen2009-12-103-88/+43
| | | | last implementation of the exe wrapper to something which makes much more sense: a REQUIRED_FILES property on tests.
* [0008668: CTest Dev: Missing executables shown as failed tests when using ↵Zach Mullen2009-12-104-18/+97
| | | | MPI.] Added a wrapping option to add_test so that exes built by the project can be safely wrapped in other exes and be listed as "not run" rather than "failed" if they are not built.
* Fix memory leak that occurred when a test executable could not be started. ↵Zach Mullen2009-12-101-0/+1
| | | | (See BadExe test)
* Local test timeouts will now always take precedence over the global ↵Zach Mullen2009-12-081-2/+1
| | | | --timeout option.
* CMake global timeout (--timeout option) should prevail over individual test ↵Zach Mullen2009-12-071-1/+2
| | | | timeouts if it is lower than the individual timeout.
* Fix issue #2336 - honor the -C arg to ctest. Honor it for all stages of ↵David Cole2009-12-046-13/+90
| | | | running -D dashboards from the command line and running ctest_configure, ctest_build and ctest_test commands in -S scripts. Also, allow a script to change it by setting the CTEST_CONFIGURATION_TYPE variable: allows for multiple configuration build/test cycles within one script. Add a new signature for the cmake command build_command that accepts CONFIGURATION as one argument. The original build_command signature is still there, but now marked as deprecated in the documentation. Of course... also add CTestConfig tests to verify that -C is honored for -D dashboards and -S scripts.