summaryrefslogtreecommitdiffstats
path: root/Source/CTest
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Hanle the case where a test can not be run because it is a bad executable.Bill Hoffman2009-12-022-15/+14
|
* Align test output for timeout condition.Zach Mullen2009-11-301-1/+1
|
* Added the --timeout option to ctest command line. This sets a global ↵Zach Mullen2009-11-301-0/+5
| | | | timeout on all tests if no more specific timeout is set on them.
* CTest: Move initial checkout to ctest_start()Brad King2009-11-245-68/+60
| | | | | | | | | | | | | | | | | | | | In CTest command-driven script mode we support starting without a source tree. Previously the ctest_start() command would do some initialization but could not do anything that required CTestConfig.cmake from the input source tree. Later, ctest_update() would run CTEST_CHECKOUT_COMMAND to create the source tree, and then re-initialize everything. This delayed-initialization approach led to many complicated cases of which only some worked. For example, the second initialization only worked correctly in Nightly mode and simply failed for Experimental and Continuous builds. A simpler solution is to run CTEST_CHECKOUT_COMMAND during ctest_start() and then have a single initialization path. In principle this change in behavior could break scripts that set the checkout command after ctest_start() but before ctest_update(). However, the convention we've always followed has been to set all variables before ctest_start(). See issue #9450.
* Handle multiple carriage return issue on windows VS9. Also make sure that ↵Zach Mullen2009-11-162-3/+9
| | | | running ctest in showonly mode does not kill our cost store, since many ctest tests do this and corrupt our cost data.
* fix number of callers to work with newer versions of valgrindBill Hoffman2009-11-111-1/+1
|
* Change logic of ctest subdirs command to allow for absolute paths. Also ↵Zach Mullen2009-11-101-6/+9
| | | | added test coverage for passing absolute paths to subdirs.
* Fixed a bug where it was possible for a test to be started twice if a ↵Zach Mullen2009-11-091-0/+5
| | | | lower-indexed test depended on it.
* Bug 9090: CTest does not handle absolute paths in CTestTestfile SUBDIR( ) ↵Zach Mullen2009-11-091-0/+6
| | | | | | entries. The ctest subdirs command now checks the relative path first, and if that does not exist, also checks if the given path was absolute. Thanks vodall for the patch.
* Fix style warning in cmsystemtools, cosmetic change to ctest codeZach Mullen2009-11-051-5/+2
|
* Fixed infinite loop condition when a test's dependent test executable could ↵Zach Mullen2009-11-051-0/+2
| | | | not be found.
* Added TARGET, CONFIGURATION, PROJECT_NAME, and FLAGS arguments to ↵Zach Mullen2009-11-032-5/+22
| | | | ctest_build command
* Added logic to check for cycles in the test dependency graph before any ↵Zach Mullen2009-11-022-1/+52
| | | | tests are run. Previously a cycle resulted in a segfault from stack overflow.
* Hook for scheduling tests in a random orderZach Mullen2009-10-293-3/+29
| | | | | This may help statistically detect implicit dependencies among unit tests while running in parallel.