summaryrefslogtreecommitdiffstats
path: root/Source/CTest
Commit message (Collapse)AuthorAgeFilesLines
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-2871-994/+639
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* Fixed uninitialized memory issue in ctest show-only modeZach Mullen2009-09-251-0/+1
|
* Output a message in ctest when each test is startedZach Mullen2009-09-241-0/+3
|
* Reformat ctest -N output. Removed the "Start processing tests" message as well.Zach Mullen2009-09-241-6/+9
|
* Tests which are not run should be added to the failed test list.Zach Mullen2009-09-231-0/+1
|
* More SLURM experimentation (ctest batch mode)Zach Mullen2009-09-211-5/+17
|
* Fixed a slurm batch argument identifier.Zach Mullen2009-09-211-1/+1
|
* Need to quote args when generating batch scripts from ctestZach Mullen2009-09-212-2/+36
|
* Re-enabled failing tests; fixed ctest_build output to be consistent in the ↵Zach Mullen2009-09-211-5/+6
| | | | error condition across different make programs so that these tests would pass.
* Fix uninitialized errors.Bill Hoffman2009-09-161-0/+7
|
* Removed fork-and-continue option from ctest generated batch script entriesZach Mullen2009-09-142-2/+1
|
* Avoid shadowing std::vector memberBrad King2009-09-121-3/+3
| | | | | | The cmProcess::Buffer class derives from std::vector. We were using local variable 'data' in the GetLine method but this name shadowed a member of vector with GNU. This renames it to 'text'.
* Fix for bug#9442, ctest crash if CTEST_SOURCE_DIRECTORY was not set.Bill Hoffman2009-09-111-1/+1
|
* Fix new CTest output handling for no newlineBrad King2009-09-111-0/+1
| | | | | | When we clear the buffer for an output pipe after returning the last partial line (without a newline) we need to set the partial line range to empty. Otherwise the buffer object is left in an inconsistent state.
* Add label summary times to ctest default output. Also, remove parallel time ↵Bill Hoffman2009-09-111-20/+32
| | | | output. Add flag to disable label summary.
* Rewrite CTest child output handlingBrad King2009-09-115-203/+132
| | | | | | | | | | | | | | This commit fixes cmCTestRunTest and cmProcess to more efficiently handle child output. We now use the buffer for each child output pipe to hold at most a partial line plus one new block of data at a time. All complete lines are scanned in-place, and then only the partial line at the end of the buffer is moved back to the beginning before appending new data. We also simplify the cmProcess interface by making GetNextOutputLine the only method that needs to be called while the process is running. This simplifies cmCTestRunTest so that CheckOutput can be called until it returns false when the process is done.
* Initialize cmCTestRunTest instances robustlyBrad King2009-09-113-18/+6
| | | | | | All instances of this class need a cmCTestTestHandler, so we now require one to construct it. The instance also provides the cmCTest instance too.
* Add parentheses around '&&' between '||' for gccBrad King2009-09-111-4/+4
| | | | | | | The GNU compiler warns about possible operator precedence mistakes and asks for explicit parentheses (-Wparentheses). We add the parentheses to silence the warning. This also fixes one real logic error in the find_package() implementation by correcting expression evaluation order.
* Added some ctest batch capabilitiesZach Mullen2009-09-102-0/+148
|
* BUG: Fixed segfault and bad reporting if a ctest executable could not be ↵Zach Mullen2009-09-105-48/+37
| | | | found. Also added some batch testing code that is not yet complete.
* ENH: ctest now writes time cost data to a file after a test set is run, and ↵Zach Mullen2009-09-083-9/+61
| | | | uses these time costs to schedule the processes the next time ctest is run in that build tree.
* BUG: Fixed extraneous newlines from ctest process outputZach Mullen2009-09-082-21/+26
|
* ENH: Replaced the EXPENSIVE test property with a COST test property taking a ↵Zach Mullen2009-09-084-64/+72
| | | | floating point value. Tests are now started in descending order of their cost, which defaults to 0 if none is specified.
* BUG: Fixed issue where ctest would hang if a process terminated with output ↵Zach Mullen2009-09-083-12/+39
| | | | in its buffers but no newline
* Fixed warningZach Mullen2009-09-081-1/+1
|
* ENH: Added ctest test options PROCESSORS and RUN_SERIAL. These allow ↵Zach Mullen2009-09-075-7/+36
| | | | specification of resource allocation for given tests running with the ctest -j N option. RUN_SERIAL ensures that a given test does not run in parallel with any other test. Also forced appending of "..." to the longest test name in ctest.
* Fix memory and process leak in ctest_run_script.Bill Hoffman2009-09-041-1/+1
|
* Increase curl submit timeout. A submit will timeout if there are 120 seconds ↵David Cole2009-09-041-7/+11
| | | | of very little activity. 30 seconds was too short.
* Fixed ctest output processing. Should now display output as it occurs, as ↵Zach Mullen2009-09-043-31/+46
| | | | well as be able to consume multiple lines if they exist within the timeout.
* Change run_ctest_script in ctest to not stop processing when there is an ↵Bill Hoffman2009-09-044-8/+43
| | | | error in the script being run. Also, add a RETURN_VALUE option so that you can find out if the script failed
* Fixed output as-it-happens issue. Now displays output as it receives each ↵Zach Mullen2009-09-041-0/+4
| | | | newline.
* Added the test property EXPENSIVE, which denotes that the given test(s) ↵Zach Mullen2009-09-044-15/+43
| | | | should be started prior to tests that are not marked as such. Also fixed test dependencies, and a few uninitialized variables in cmProcess.
* Fixed 2 unused variable warningsZach Mullen2009-09-031-3/+1
|
* Allowed tests to pull more than one line of output in their quantum. Fixed ↵Zach Mullen2009-09-035-80/+91
| | | | uninitialized variables in the case that the test process could not start.
* Fixed warningsZach Mullen2009-09-034-2/+8
|
* ENH: Added PARALLEL_LEVEL option for ctest_memcheck(). Added PROCESSORS ↵Zach Mullen2009-09-035-6/+22
| | | | option to set_tests_properties (implementation to come).
* STYLE: line lengthZach Mullen2009-09-021-2/+5
|
* ENH: Added PARALLEL_LEVEL option to ctest_test() command.Zach Mullen2009-09-023-3/+16
|
* Fixed ctest output where max test index is not the same width as the total ↵Zach Mullen2009-09-025-17/+55
| | | | number of tests. Also some preliminary changes for batching ctest jobs
* Add curl timeout options to the SubmitUsingHTTP method. They were only in ↵David Cole2009-09-011-2/+7
| | | | the SubmitUsingFTP method.
* ENH: Improved test reporting outputZach Mullen2009-09-011-8/+14
|
* Fixed ctest_memcheck docs (http://www.cmake.org/Bug/view.php?id=9242)Zach Mullen2009-08-311-4/+14
|
* Fixed Dart time recording for ctestZach Mullen2009-08-311-0/+6
|
* Fixed conversion warning on 64 bit machinesZach Mullen2009-08-314-320/+6
|
* Fixed line length issueZach Mullen2009-08-301-1/+2
|
* MemCheck should now work again in ctestZach Mullen2009-08-287-65/+67
|
* Replaced std::stringstream with cmOStringStreamZach Mullen2009-08-281-1/+1
|
* Added ctest -N test. Fixed ctest working directory bug. MemCheck fix ↵Zach Mullen2009-08-287-153/+114
| | | | coming soon...
* Fixed ctest -N segfault issue. Further refactored ctest. Enabled failover ↵Zach Mullen2009-08-277-396/+235
| | | | for ctest
* ENH: refactored ctest. All testing is now parallel. If no -j option is ↵Zach Mullen2009-08-266-504/+322
| | | | specified, defaults to a MP level of 1 (non parallel)