Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix uninitialized errors. | Bill Hoffman | 2009-09-16 | 1 | -0/+7 |
| | |||||
* | Removed fork-and-continue option from ctest generated batch script entries | Zach Mullen | 2009-09-14 | 1 | -1/+0 |
| | |||||
* | Rewrite CTest child output handling | Brad King | 2009-09-11 | 1 | -43/+22 |
| | | | | | | | | | | | | | | 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 robustly | Brad King | 2009-09-11 | 1 | -7/+3 |
| | | | | | | All instances of this class need a cmCTestTestHandler, so we now require one to construct it. The instance also provides the cmCTest instance too. | ||||
* | BUG: Fixed segfault and bad reporting if a ctest executable could not be ↵ | Zach Mullen | 2009-09-10 | 1 | -17/+14 |
| | | | | found. Also added some batch testing code that is not yet complete. | ||||
* | BUG: Fixed issue where ctest would hang if a process terminated with output ↵ | Zach Mullen | 2009-09-08 | 1 | -3/+8 |
| | | | | in its buffers but no newline | ||||
* | ENH: Added ctest test options PROCESSORS and RUN_SERIAL. These allow ↵ | Zach Mullen | 2009-09-07 | 1 | -1/+1 |
| | | | | 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. | ||||
* | Fixed ctest output processing. Should now display output as it occurs, as ↵ | Zach Mullen | 2009-09-04 | 1 | -15/+25 |
| | | | | well as be able to consume multiple lines if they exist within the timeout. | ||||
* | Allowed tests to pull more than one line of output in their quantum. Fixed ↵ | Zach Mullen | 2009-09-03 | 1 | -20/+34 |
| | | | | uninitialized variables in the case that the test process could not start. | ||||
* | ENH: Added PARALLEL_LEVEL option for ctest_memcheck(). Added PROCESSORS ↵ | Zach Mullen | 2009-09-03 | 1 | -1/+1 |
| | | | | option to set_tests_properties (implementation to come). | ||||
* | Fixed ctest output where max test index is not the same width as the total ↵ | Zach Mullen | 2009-09-02 | 1 | -12/+5 |
| | | | | number of tests. Also some preliminary changes for batching ctest jobs | ||||
* | ENH: Improved test reporting output | Zach Mullen | 2009-09-01 | 1 | -8/+14 |
| | |||||
* | Fixed conversion warning on 64 bit machines | Zach Mullen | 2009-08-31 | 1 | -2/+2 |
| | |||||
* | Fixed line length issue | Zach Mullen | 2009-08-30 | 1 | -1/+2 |
| | |||||
* | MemCheck should now work again in ctest | Zach Mullen | 2009-08-28 | 1 | -13/+54 |
| | |||||
* | Replaced std::stringstream with cmOStringStream | Zach Mullen | 2009-08-28 | 1 | -1/+1 |
| | |||||
* | Added ctest -N test. Fixed ctest working directory bug. MemCheck fix ↵ | Zach Mullen | 2009-08-28 | 1 | -56/+52 |
| | | | | coming soon... | ||||
* | Fixed ctest -N segfault issue. Further refactored ctest. Enabled failover ↵ | Zach Mullen | 2009-08-27 | 1 | -112/+98 |
| | | | | for ctest | ||||
* | ENH: refactored ctest. All testing is now parallel. If no -j option is ↵ | Zach Mullen | 2009-08-26 | 1 | -283/+198 |
| | | | | specified, defaults to a MP level of 1 (non parallel) | ||||
* | Fixed line length over 80 | Zach Mullen | 2009-08-20 | 1 | -5/+6 |
| | |||||
* | ENH: Refactored CTest test execution code into an object | Zach Mullen | 2009-08-19 | 1 | -0/+547 |