Brad King
dc1d2189ae
CMake 2.8.1-rc1
2010-01-28 16:48:20 -05:00
Brad King
d2715cae49
CMake 2.8.0-rc7
2009-11-11 13:34:21 -05:00
Brad King
29ebc97c38
CMake 2.8.0-rc6
2009-11-10 09:03:39 -05:00
Brad King
86eac830b3
CMake 2.8.0-rc5
2009-11-03 17:25:20 -05:00
Bill Hoffman
b4ae8bad4b
RC 4 merge
2009-10-28 12:17:18 -04:00
Bill Hoffman
ebd0c2d377
Merge in changes for RC 3
2009-10-09 16:11:47 -04:00
Bill Hoffman
f9687e328f
Merge in changes to CMake-2-8 RC 2
2009-10-01 17:21:28 -04:00
Bill Hoffman
3c7354c1cd
Add change log and fix UMR in ctest from head.
2009-09-25 12:25:23 -04:00
Zach Mullen
5a2f24856e
Output a message in ctest when each test is started
2009-09-24 13:49:20 -04:00
Zach Mullen
65c418e56f
Reformat ctest -N output. Removed the "Start processing tests" message as well.
2009-09-24 09:49:46 -04:00
Zach Mullen
84f3f6cad6
Tests which are not run should be added to the failed test list.
2009-09-23 15:37:50 -04:00
Zach Mullen
4342e37d63
More SLURM experimentation (ctest batch mode)
2009-09-21 15:29:34 -04:00
Zach Mullen
a4c6f178fe
Fixed a slurm batch argument identifier.
2009-09-21 14:58:30 -04:00
Zach Mullen
87b4c66ca8
Need to quote args when generating batch scripts from ctest
2009-09-21 14:21:41 -04:00
Zach Mullen
e4293b4b38
Re-enabled failing tests; fixed ctest_build output to be consistent in the error condition across different make programs so that these tests would pass.
2009-09-21 13:40:40 -04:00
Bill Hoffman
932dac93b7
Fix uninitialized errors.
2009-09-16 11:49:09 -04:00
Zach Mullen
243bbae954
Removed fork-and-continue option from ctest generated batch script entries
2009-09-14 11:23:20 -04:00
Brad King
bcbb4626a3
Avoid shadowing std::vector member
...
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'.
2009-09-12 10:20:00 -04:00
Bill Hoffman
63a7d85249
Fix for bug#9442, ctest crash if CTEST_SOURCE_DIRECTORY was not set.
2009-09-11 17:15:02 -04:00
Brad King
8c24c1dcc3
Fix new CTest output handling for no newline
...
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.
2009-09-11 16:20:24 -04:00
Bill Hoffman
8a690289c2
Add label summary times to ctest default output. Also, remove parallel time output. Add flag to disable label summary.
2009-09-11 13:34:35 -04:00
Brad King
6a7eae7184
Rewrite CTest child output handling
...
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.
2009-09-11 12:26:41 -04:00
Brad King
b6c26cded2
Initialize cmCTestRunTest instances robustly
...
All instances of this class need a cmCTestTestHandler, so we now require
one to construct it. The instance also provides the cmCTest instance
too.
2009-09-11 10:09:48 -04:00
Brad King
b41a548d86
Add parentheses around '&&' between '||' for gcc
...
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.
2009-09-11 08:18:15 -04:00
Zach Mullen
c57fb18920
Added some ctest batch capabilities
2009-09-10 11:18:05 -04:00
Zach Mullen
4b4e801eba
BUG: Fixed segfault and bad reporting if a ctest executable could not be found. Also added some batch testing code that is not yet complete.
2009-09-10 11:16:08 -04:00
Zach Mullen
a516040579
ENH: ctest now writes time cost data to a file after a test set is run, and uses these time costs to schedule the processes the next time ctest is run in that build tree.
2009-09-08 17:10:35 -04:00
Zach Mullen
6727834a8c
BUG: Fixed extraneous newlines from ctest process output
2009-09-08 14:48:23 -04:00
Zach Mullen
39e5f9d963
ENH: Replaced the EXPENSIVE test property with a COST test property taking a floating point value. Tests are now started in descending order of their cost, which defaults to 0 if none is specified.
2009-09-08 13:39:13 -04:00
Zach Mullen
a02ef56401
BUG: Fixed issue where ctest would hang if a process terminated with output in its buffers but no newline
2009-09-08 10:16:16 -04:00
Zach Mullen
384f4d1f3f
Fixed warning
2009-09-08 09:12:44 -04:00
Zach Mullen
5fb958fde9
ENH: Added ctest test options PROCESSORS and RUN_SERIAL. These allow 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.
2009-09-07 10:26:17 -04:00
Bill Hoffman
cdb966532b
Fix memory and process leak in ctest_run_script.
2009-09-04 17:01:47 -04:00
David Cole
68b8332088
Increase curl submit timeout. A submit will timeout if there are 120 seconds of very little activity. 30 seconds was too short.
2009-09-04 14:00:26 -04:00
Zach Mullen
5517e17bf9
Fixed ctest output processing. Should now display output as it occurs, as well as be able to consume multiple lines if they exist within the timeout.
2009-09-04 13:50:06 -04:00
Bill Hoffman
7d190a65ca
Change run_ctest_script in ctest to not stop processing when there is an error in the script being run. Also, add a RETURN_VALUE option so that you can find out if the script failed
2009-09-04 13:24:25 -04:00
Zach Mullen
7f9a0f508f
Fixed output as-it-happens issue. Now displays output as it receives each newline.
2009-09-04 11:23:38 -04:00
Zach Mullen
c6e5dd21fd
Added the test property EXPENSIVE, which denotes that the given test(s) should be started prior to tests that are not marked as such. Also fixed test dependencies, and a few uninitialized variables in cmProcess.
2009-09-04 10:16:06 -04:00
Zach Mullen
7f6ff73396
Fixed 2 unused variable warnings
2009-09-03 15:50:47 -04:00
Zach Mullen
d4adde13d7
Allowed tests to pull more than one line of output in their quantum. Fixed uninitialized variables in the case that the test process could not start.
2009-09-03 15:33:44 -04:00
Zach Mullen
20713ab89d
Fixed warnings
2009-09-03 11:14:13 -04:00
Zach Mullen
659171d1f7
ENH: Added PARALLEL_LEVEL option for ctest_memcheck(). Added PROCESSORS option to set_tests_properties (implementation to come).
2009-09-03 10:47:14 -04:00
Zach Mullen
c5cf9b0e5f
STYLE: line length
2009-09-02 16:32:43 -04:00
Zach Mullen
7e20db0224
ENH: Added PARALLEL_LEVEL option to ctest_test() command.
2009-09-02 12:35:42 -04:00
Zach Mullen
69fd641adb
Fixed ctest output where max test index is not the same width as the total number of tests. Also some preliminary changes for batching ctest jobs
2009-09-02 10:08:40 -04:00
David Cole
d741a6a57f
Add curl timeout options to the SubmitUsingHTTP method. They were only in the SubmitUsingFTP method.
2009-09-01 17:23:50 -04:00
Zach Mullen
90cc5c5e04
ENH: Improved test reporting output
2009-09-01 11:58:04 -04:00
Zach Mullen
6d0b6f2b9e
Fixed ctest_memcheck docs ( http://www.cmake.org/Bug/view.php?id=9242 )
2009-08-31 11:32:39 -04:00
Zach Mullen
59b34a6a1a
Fixed Dart time recording for ctest
2009-08-31 10:28:39 -04:00
Zach Mullen
5a5cc52230
Fixed conversion warning on 64 bit machines
2009-08-31 09:50:35 -04:00