Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rewrite CTest child output handling | Brad King | 2009-09-11 | 1 | -3/+1 |
| | | | | | | | | | | | | | | 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 | -6/+2 |
| | | | | | | 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/+5 |
| | | | | 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 Mullen | 2009-09-08 | 1 | -4/+56 |
| | | | | 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 output | Zach Mullen | 2009-09-08 | 1 | -1/+1 |
| | |||||
* | ENH: Replaced the EXPENSIVE test property with a COST test property taking a ↵ | Zach Mullen | 2009-09-08 | 1 | -49/+60 |
| | | | | floating point value. Tests are now started in descending order of their cost, which defaults to 0 if none is specified. | ||||
* | ENH: Added ctest test options PROCESSORS and RUN_SERIAL. These allow ↵ | Zach Mullen | 2009-09-07 | 1 | -6/+27 |
| | | | | 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. | ||||
* | Added the test property EXPENSIVE, which denotes that the given test(s) ↵ | Zach Mullen | 2009-09-04 | 1 | -11/+26 |
| | | | | should be started prior to tests that are not marked as such. Also fixed test dependencies, and a few uninitialized variables in cmProcess. | ||||
* | Allowed tests to pull more than one line of output in their quantum. Fixed ↵ | Zach Mullen | 2009-09-03 | 1 | -2/+3 |
| | | | | uninitialized variables in the case that the test process could not start. | ||||
* | Fixed warnings | Zach Mullen | 2009-09-03 | 1 | -1/+1 |
| | |||||
* | ENH: Added PARALLEL_LEVEL option for ctest_memcheck(). Added PROCESSORS ↵ | Zach Mullen | 2009-09-03 | 1 | -3/+6 |
| | | | | option to set_tests_properties (implementation to come). | ||||
* | STYLE: line length | Zach Mullen | 2009-09-02 | 1 | -2/+5 |
| | |||||
* | Fixed ctest output where max test index is not the same width as the total ↵ | Zach Mullen | 2009-09-02 | 1 | -0/+28 |
| | | | | number of tests. Also some preliminary changes for batching ctest jobs | ||||
* | MemCheck should now work again in ctest | Zach Mullen | 2009-08-28 | 1 | -2/+2 |
| | |||||
* | Added ctest -N test. Fixed ctest working directory bug. MemCheck fix ↵ | Zach Mullen | 2009-08-28 | 1 | -55/+40 |
| | | | | coming soon... | ||||
* | Fixed ctest -N segfault issue. Further refactored ctest. Enabled failover ↵ | Zach Mullen | 2009-08-27 | 1 | -2/+65 |
| | | | | for ctest | ||||
* | ENH: refactored ctest. All testing is now parallel. If no -j option is ↵ | Zach Mullen | 2009-08-26 | 1 | -116/+42 |
| | | | | specified, defaults to a MP level of 1 (non parallel) | ||||
* | Output total time when using -j N | Bill Hoffman | 2009-08-12 | 1 | -1/+1 |
| | |||||
* | ENH: add a CDash measured value showing the reason for passed and failed ↵ | Bill Hoffman | 2009-02-24 | 1 | -0/+4 |
| | | | | tests based on regular expressions | ||||
* | BUG: partial fix for 8056 -W now works with -j | Bill Hoffman | 2009-02-10 | 1 | -0/+7 |
| | |||||
* | COMP: try to fix sgi compiler problem with set and also shorten symbol ↵ | Bill Hoffman | 2008-07-04 | 1 | -10/+10 |
| | | | | lengths for set class | ||||
* | ENH: one more fix for the old hp c++ compiler | Bill Hoffman | 2008-07-03 | 1 | -1/+1 |
| | |||||
* | ENH: add initial ctest -j feature | Bill Hoffman | 2008-07-03 | 1 | -0/+323 |