Zach Mullen
65c418e56f
Reformat ctest -N output. Removed the "Start processing tests" message as well.
2009-09-24 09:49:46 -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
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
Zach Mullen
177edc5ed1
Fixed ctest -N segfault issue. Further refactored ctest. Enabled failover for ctest
2009-08-27 10:37:30 -04:00
Zach Mullen
8ffd8d0a03
ENH: refactored ctest. All testing is now parallel. If no -j option is specified, defaults to a MP level of 1 (non parallel)
2009-08-26 12:09:06 -04:00
Zach Mullen
a2ef34d344
Fixed overwriting of a previous change set
2009-08-19 09:24:55 -04:00
Zach Mullen
b9daa192af
ENH: Refactored CTest test execution code into an object
2009-08-19 08:58:36 -04:00
Brad King
e9d7ebb3ec
BUG: Do not double-initialize local generators
...
All global generator CreateLocalGenerator methods automatically
initialize the local generator instances with SetGlobalGenerator. In
several places we were calling SetGlobalGenerator again after receiving
the return value from CreateLocalGenerator. The double-initializations
leaked the resources allocated by the first call to SetGlobalGenerator.
This fix removes the unnecessary calls.
2009-07-28 10:47:02 -04:00
David Cole
c64b1456b6
BUG: Fix typo pointed out by Monsieur Francois Bertel. Merci, Francois.
2009-07-22 12:06:52 -04:00
Bill Hoffman
5c4208f50e
ENH: only 5 failing tests for VS 10
2009-07-10 09:12:39 -04:00
Brad King
a045bd4c0d
COMP: Avoid operator precedence warning
...
GCC warns that parens should be used for nested and/or operators.
2009-05-11 13:58:19 -04:00
Bill Hoffman
00c253847a
BUG: 8898 fix date in ctest nightly time
2009-05-07 18:20:42 -04:00
Brad King
98c51ff6dc
ENH: Overhaul CMake version numbering
...
This moves the version numbers into an isolated configured header so
that not all of CMake needs to rebuild when the version changes.
Previously we had spaces, dashes and/or the word 'patch' randomly chosen
before the patch number. Now we always report version numbers in the
traditional format "<major>.<minor>.<patch>[-rc<rc>]".
We still use odd minor numbers for development versions. Now we also
use the CCYYMMDD date as the patch number of development versions, thus
allowing tests for exact CMake versions.
2009-03-05 15:17:07 -05:00
Brad King
3f4064f7ac
ENH: Add cmCTest::DecodeURL method
...
This new method decodes the "percent-encoding" used in URL syntax.
2009-02-24 15:43:06 -05:00
Bill Hoffman
efad72a9a3
ENH: add label global property to ctest scripts
2009-02-10 16:08:40 -05:00
Bill Hoffman
4e710a9ebe
ENH: add the ability to run tests by labels
2009-02-10 14:24:24 -05:00
Brad King
dc13914cd6
ENH: Create cmXMLSafe to help escapes in XML
...
This class provides easy syntax to efficiently insert blocks of data
into XML documents with proper escapes. It replaces the old
cmCTest::MakeXMLSafe and cmSystemTools::MakeXMLSafe methods which
allocated extra memory instead of directly streaming the data.
2009-02-05 16:31:37 -05:00
Brad King
5527ca5524
BUG: Reset file submission list on test restart
...
When running in script mode it is possible to run multiple separate
dashboard submissions in one cmCTest instance. The recent refactoring
of file submission lists into parts failed to clear the submission lists
when starting a new dashboard (ctest_start or ctest_update). Only the
unused old submission set was cleared. This fixes the refactored
version to remove the old submission set completely and also clear the
part-wise lists.
2009-01-27 10:58:33 -05:00
Bill Hoffman
7e1ba9d075
BUG: add output on failure to ctest #8255
2009-01-18 13:03:32 -05:00
Brad King
6783ca8364
COMP: Remove unused variable
2009-01-12 11:10:04 -05:00
Brad King
447f5b303e
ENH: Divide CTest file submission list by part
...
This splits the list of files for CTest to submit into those belonging
to each part. The set is recombined just before submission. Later this
will allow piecewise submissions.
2009-01-12 10:37:55 -05:00
Brad King
4b97fab34d
ENH: Refactor cmCTest test part representation
...
This introduces the name "part" to denote a portion of the testing and
submission process performed by ctest. We generalize the boolean
indicating whether each part is enabled into a structure to which more
information can be added later. We provide bi-directional mapping
between part id and part names.
2009-01-12 10:37:25 -05:00
Brad King
cccac773ce
ENH: Teach ctest_* to create appending XML files
...
This adds an APPEND option to the ctest_* commands which tells them to
put the Append="true" attribute in the Site element of their XML file.
2009-01-12 09:11:29 -05:00
Brad King
82e7e7fb7d
ENH: Add missing newline to CTest-generated xml
...
The Generator="ctest..." attribute of Site elements in CTest-generated
XML files was missing a newline, causing the next attribute to appear on
the same line. This adds the newline.
2009-01-09 16:44:19 -05:00
Bill Hoffman
5690cafd62
ENH: fix crash for old style scripts
2009-01-09 12:56:09 -05:00
Bill Hoffman
ed387ffe6b
ENH: add subproject tag property for ctest
2009-01-09 12:05:23 -05:00
Brad King
2703d51b8f
BUG: Capture cout and cerr from internal ctest
...
When CTest detects that a test is running its own executable it
optimizes the test by using an internal instance of cmCTest instead of
creating a new process. However, the internal instance was using cout
and cerr directly. This redirects the output to a string stream to
avoid direct display of the internal test's output.
2009-01-05 14:14:10 -05:00
Brad King
1e2c7a7bb3
BUG: Fix crash when running internal CTest
...
When CTest encounters a test whose executable is the ctest executable
iteslf, it just invokes code inside itself to avoid starting a new
process. This fixes a null-pointer dereference in the logging code of
that case.
2008-12-18 12:27:54 -05:00
David Cole
ceaef94ccc
ENH: Implement feature request from issue 7885. Allow setting environment variables on a per-test basis for ctest using set_test_properties ENVIRONMENT.
2008-11-26 14:38:43 -05:00
Bill Hoffman
bdfc3fadd3
ENH: add more debug stuff to CTestCTest2 so I can figure out redwall
2008-11-23 10:49:46 -05:00
Bill Hoffman
ecf312ccc8
STYLE: fix line length stuff for KWStyle
2008-10-01 09:04:27 -04:00
Bill Hoffman
43fe0d3978
ENH: add max width option to ctest ouptut
2008-09-22 14:04:13 -04:00
Bill Hoffman
64fc597de2
ENH: add initial support for HAIKU OS from bug# 7425
2008-09-15 17:53:28 -04:00
Bill Hoffman
7098b666fa
COMP: fix some warnings
2008-07-04 09:50:32 -04:00
Bill Hoffman
bb7b27e417
ENH: add initial ctest -j feature
2008-07-03 09:31:33 -04:00
Brad King
62145a5811
BUG: cmCTest::GetConfigType should return the string by reference-to-const so that callers may use .c_str() safely.
2008-02-03 08:57:41 -05:00
Bill Hoffman
dc0f41c298
ENH: remove extra junk
2008-01-31 16:10:32 -05:00
Bill Hoffman
c4093afc52
ENH: enhancements for cdash, include system information and better time entries
2008-01-30 11:17:36 -05:00
Ken Martin
3d63c85f75
ENH: look for CTestConfiguration.ini first
2008-01-23 12:51:24 -05:00
Brad King
9f61e2a235
ENH: Centralized and globalized computation of CMake program locations. This eliminates startup paths that failed to produce this information.
2007-12-13 17:56:50 -05:00
Brad King
d1ad16f438
BUG: Do not require a nightly start time for an experimental or continuous test model.
2007-11-21 10:07:00 -05:00
Bill Hoffman
cc1f1014e3
ENH: allow test properties to set a timeout that is longer than the default timeout, but not longer than CTEST_TIME_LIMIT for a script
2007-09-18 11:34:53 -04:00
Bill Hoffman
f262298bb0
ENH: fix 2 ctest issues, do not use the build type of ctest to look for config types, do not inherit pipes in child procs for ctest so it can kill them
2007-09-11 11:21:36 -04:00
Bill Hoffman
01c3c3dee6
ENH: change error to warning so ctesttest3 passes
2007-08-06 17:09:47 -04:00
Bill Hoffman
1a11a2d0c0
ENH: add a check to make sure nightly start time was specified
2007-08-03 16:41:49 -04:00
Bill Hoffman
21b5c7d2b4
ENH: add more verbose output
2007-06-14 13:05:09 -04:00
David Cole
07837ebe3a
BUG: Never return a string containing a space " " from cmCTest::GetShortPathToFile - replace them with "_". DART cannot construct valid file names during dashboard rollup with space " " in the short path.
2007-06-12 11:11:07 -04:00
Alexander Neundorf
e9c163762e
STYLE: remove argument bool fast, it was unused
...
Alex
2007-06-12 09:40:36 -04:00
David Cole
ed1a04360a
BUG: Never return a string containing a ":" from cmCTest::GetShortPathToFile - replace them with "_". DART cannot construct valid file names during dashboard rollup with ":" in the short path. Also, fix the Bullseye coverage handler so that the file names and paths match in both the coverage summary and the individual coverage logs.
2007-06-11 15:36:50 -04:00
Ken Martin
d1c4a0bf9e
BUG: fix timeout bug with global timeouts such as DART_TESTING_TIMEOUT
2007-06-08 14:16:04 -04:00
Ken Martin
a175613a56
BUG: better passing of global TIMEOUT to internal ctest invocaitons
2007-06-06 11:02:24 -04:00
Ken Martin
8fdca686b3
ENH: fix passing of time limit to some ctest invocations that also use build-options
2007-06-04 13:39:43 -04:00
Bill Hoffman
239ee9c26c
BUG: fix problem with new curl_getdate and ctest
2007-03-23 16:33:47 -04:00
Ken Martin
b5423a0218
ENH: minor additional error output
2007-03-20 11:52:16 -04:00
Ken Martin
098c1dcdfe
BUG: fix in the timeout code
2007-01-29 12:42:33 -05:00
Ken Martin
2f84bd1758
ENH: added per test timeout support
2007-01-25 11:16:16 -05:00
Bill Hoffman
3a32cec969
ENH: merge in changes for beos support
2006-12-04 17:26:41 -05:00
Brad King
f91b3c1daa
ENH: Add options to build with system utility libraries. Organize inclusion of third party libraries into a single header per library. This addresses bug#3653.
2006-10-19 15:00:10 -04:00
Ken Martin
f7a5289e31
ENH: added total time limit for a CTest run bug 1207
2006-10-19 10:45:19 -04:00
Andy Cedilnik
2071291956
STYLE: Fix kwstyle
2006-10-15 07:54:52 -04:00
Andy Cedilnik
3206db15b3
ENH: Properly propagate config type to test
2006-10-13 17:10:48 -04:00
Andy Cedilnik
61a4c12ce6
BUG: Use BuildDirectory from the DartConfiguration information. Also, Make missing coverage information not make ctest fail
2006-10-12 16:31:54 -04:00
Ken Martin
77a4227652
ENH: some cleanup and commenting of code
2006-10-12 12:51:27 -04:00
Ken Martin
299bbcad86
ENH: fix color output inside of ctest runs
2006-07-21 14:58:13 -04:00
Andy Cedilnik
981787c9c5
COMP: Fix stl string access
2006-07-11 16:08:34 -04:00
Andy Cedilnik
12cc89a8e5
BUG: Try to fix the problem of bad test names
2006-07-11 15:58:07 -04:00
Andy Cedilnik
e015e10370
ENH: Pass -C flag to cmake to generate the apropriate build command
2006-07-09 13:18:15 -04:00
Ken Martin
5ac59d81d3
STYLE: fix line length
2006-05-10 13:56:27 -04:00
Andy Cedilnik
2d81046ae2
ENH: Add support for special tracks, fix options of handlers so that the -R, -U, and so on work in the new style scripting
2006-04-28 11:59:31 -04:00
Andy Cedilnik
47d9021b66
BUG: The fast mode should not read CTestCustom.ctest files
2006-04-11 08:56:25 -04:00
Andy Cedilnik
55c0ff5f64
BUG: Improve the behavior of the ReadCustomFilesCommand
2006-04-09 07:45:18 -04:00
Ken Martin
d81ebf0c23
ENH: added support for -SP scripts in new processes
2006-04-04 13:04:28 -04:00
Andy Cedilnik
386900bfdd
ENH: Several cleanups and make sure things get propagated where they should. Also, allow to load CTest custom files to the actual ctest -S script
2006-03-29 12:01:24 -05:00
Andy Cedilnik
cca91e168a
ENH: Pass handler flags to both test and memcheck handler
2006-03-28 15:20:21 -05:00
Andy Cedilnik
161524581f
BUG: Fix CTestCustom.ctest file
2006-03-23 11:19:30 -05:00
Andy Cedilnik
9a94d1144d
ENH: Two things. If there is CTestCustom.cmake in the toplevel directory read that file only. If there is CTestCustom.ctest in the toplevel directory, do the glob, if there is none, do nothing
2006-03-21 16:39:50 -05:00
Andy Cedilnik
1cdd8b4fbd
BUG: Handle visual studio 8
2006-03-21 16:01:50 -05:00
Andy Cedilnik
15d7dd9937
ENH: Remove cmGlob and use glob from kwsys
2006-03-21 12:54:31 -05:00
Ken Martin
3d96e52261
STYLE: some m_ to this-> cleanup
2006-03-15 11:02:08 -05:00
Andy Cedilnik
862f5df25c
STYLE: Fix some style issues
2006-03-10 15:03:09 -05:00
Andy Cedilnik
26e1fea95b
STYLE: Fix some style issues
2006-03-09 11:57:43 -05:00
Andy Cedilnik
5b638bb136
BUG: Add additional check
2006-02-28 15:56:46 -05:00
Brad King
f2cf7e9197
ENH: Enable capture of output from VCExpress.exe and devenv.exe.
2006-02-15 10:22:55 -05:00
Andy Cedilnik
4259971961
ENH: Since list file cache does not make much sense any more (because of proper list file parsing), and it actually adds unnecessary complications and make ctest scripting not work, take it out
2006-02-07 08:49:42 -05:00
Andy Cedilnik
c04cbcac70
ENH: Fix command line argument parsing
2005-12-27 13:10:23 -05:00
Brad King
0df3c162fb
BUG: Do not dereference an end iterator.
2005-11-17 15:44:43 -05:00
Andy Cedilnik
eff0013b3b
ENH: More output
2005-10-19 11:00:28 -04:00
Andy Cedilnik
89569f07ed
ENH: More verbosity
2005-10-04 10:58:21 -04:00
Andy Cedilnik
287eeb283e
ENH: Expose version of ctest
2005-09-15 17:22:06 -04:00
Andy Cedilnik
4bba497aa4
BUG: Initialize variable
2005-07-20 12:03:04 -04:00
Andy Cedilnik
f47a57c3e8
ENH: Add a way to submit extra files to the dashboard
2005-07-18 12:53:48 -04:00
Andy Cedilnik
3d84afe571
ENH: Several improvements and cleanups:
...
1. Add long command line arguments for every argument
2. Add a way to overwrite CTest configuration by providing --overwrite TimeOut=10
3. Improve argument parsing.
4. Add submit index argument
2005-07-18 11:46:45 -04:00
Andy Cedilnik
79eeb9c4e6
BUG: Look for custom files in all directories
2005-07-14 14:15:21 -04:00
Andy Cedilnik
2dc914c839
BUG: Fix problem with visual studio in release mode
2005-07-12 08:50:09 -04:00
Andy Cedilnik
baf5601acb
ENH: Improve performance of MakeXMLSafe, improve performance of reading custom ctest files, and remove error when running ctest on directory without DartConfiguration.tcl
2005-07-02 22:50:57 -04:00
Andy Cedilnik
b7514580f9
ENH: Move curl to utilities
2005-06-24 09:06:26 -04:00
Andy Cedilnik
1b578d3180
ENH: Several improvements with the way things are handled. Also, support multiple submited files
2005-06-23 13:04:18 -04:00
Andy Cedilnik
c60263f5ea
ENH: Initialize handler before processing it
2005-06-20 17:57:32 -04:00
Andy Cedilnik
d9dc9b54a6
ENH: Add superclass for all commands and handlers. Improve handlers to have initialization code, and start initializing ctest when start is invoked
2005-06-17 13:04:56 -04:00
Andy Cedilnik
73fe7c316a
ENH: Return error if there is an ERROR_MESSAGE. Also fix tag for the test
2005-06-16 16:24:39 -04:00
Andy Cedilnik
2cc5ed49d1
ENH: Several improvements to CTest:
...
1. Support for showing line numbers when debugging ctest --show-line-numbers
2. Modify the ctest initialization code, so that it can be delayed
3. Handlers now have corresponding command if they were invoked from the command (so far only update actually use that)
4. Start command is simplified and the functionality is moved to CTest
5. Update can perform initial checkout if CTEST_CHECKOUT_COMMAND is set
6. Add test that checks out kwsys and perform tests on the fresh checkout
2005-06-16 13:18:21 -04:00
Andy Cedilnik
a95a4b000d
ENH: Separate standard output and standard error for problematic commands
2005-06-14 11:42:53 -04:00
Andy Cedilnik
ab313ca547
ENH: Be more verbose
2005-06-10 09:01:37 -04:00
Andy Cedilnik
1a165dc60d
ENH: Move the build-and-test code to a handler
2005-06-03 16:10:55 -04:00
Andy Cedilnik
d56bed98d7
ENH: Add debug flag
2005-06-02 18:10:25 -04:00
Andy Cedilnik
8f6c1d3baa
BUG: Fix the order of things to make submit handler not crash when proxies are set
2005-06-02 16:47:47 -04:00
Andy Cedilnik
8e3832c3d5
ENH: Make CMake --build-and-test to be verbose by default
2005-06-01 08:25:43 -04:00
Andy Cedilnik
7f7cf5ee6b
COMP: Remove ERROR reserved word or something and replace with ERROR_MESSAGE
2005-05-31 18:40:43 -04:00
Andy Cedilnik
f6e5a878fc
ENH: Add support for writing output file. While doing that, redesign the way ctest does output. There may still be problems with commands failing, but that should be fixed by applying the similar concept to whole CMake
2005-05-31 17:32:40 -04:00
Andy Cedilnik
4e49c3bf6e
ENH: Add method so that ctest handlers and commands can add notes
2005-05-08 13:47:20 -04:00
Andy Cedilnik
f4a8c582aa
BUG: Fix logic for verbose
2005-05-05 09:21:35 -04:00
Andy Cedilnik
2b29497de9
ENH: Add Site and BuildName, make sure that the rest of the default -S rule does not happen, and make sure that new tag will be created
2005-05-03 15:28:28 -04:00
Andy Cedilnik
de57a86298
ENH: Cleanups
2005-05-03 09:40:16 -04:00
Andy Cedilnik
c7feef30e2
ENH: Promote submit into a full handler, add test and submit command and do some cleanups
2005-05-03 08:17:39 -04:00
Andy Cedilnik
f1ebfb24c6
ENH: More commands. Start working on new style ctest configuration
2005-05-02 14:15:29 -04:00
Andy Cedilnik
3a8e7599b1
BUG: The argument is --ctest-config
2005-04-24 14:28:55 -04:00
Andy Cedilnik
3085b3bcfd
STYLE: Fix english
2005-04-15 14:47:36 -04:00
Andy Cedilnik
6cd36d16e5
ENH: Rename the DartConfiguration.tcl to CTestConfiguration.ini
2005-04-01 15:45:26 -05:00
Andy Cedilnik
7acfc4dc3c
ENH: Start adding support for CTest testfiles
2005-04-01 14:57:55 -05:00
Brad King
a0e71e77f9
BUG: It is possible for the nightly start time to be over 24 hours in the future which requires two days to be subtracted. Using a while loop to make sure enough days are added or subtracted. It should never be able to iterate more than twice.
2005-03-30 16:11:37 -05:00
Brad King
7219c7a75c
BUG: Adjusted GetNightlyTime computation to not depend on time_t being a signed type.
2005-03-25 08:05:21 -05:00
Andy Cedilnik
8248953df1
COMP: Remove warning and fix the logic
2005-03-06 08:51:08 -05:00
Andy Cedilnik
bee77d0298
ENH: Start working on xmlrpc code. This code does not work, but it will at least test compiling with cmxmlrpc
2005-03-04 17:11:42 -05:00
Ken Martin
4baa085a1a
BUG: better error handling
2005-02-22 10:42:49 -05:00
Ken Martin
4d30cb309c
ENH: ctest now uses CMake global generator to do the build part of build-and-test
2005-02-22 09:12:10 -05:00
Andy Cedilnik
d5aafe1b93
ENH: Some more generalization
2005-02-17 16:11:10 -05:00
Andy Cedilnik
79a7f42a21
ENH: Cleanups and add CTEST_UPDATE command
2005-02-17 15:23:00 -05:00
Andy Cedilnik
8fe1686510
ENH: Cleanups and add CTEST_START command
2005-02-17 10:51:52 -05:00
Bill Hoffman
6bf064d41c
ENH: use ALL_BUILD target
2005-02-16 18:47:30 -05:00
Bill Hoffman
34e7e36cae
ENH: getting closer
2005-02-14 16:46:32 -05:00
Brad King
f6e8b36dcb
BUG: Fixed --build-target implementation to work with Visual Studio generators.
2005-02-04 17:38:41 -05:00
Andy Cedilnik
1cca4b3b24
ENH: Enable compression with DartConfiguration file
2005-01-27 17:44:25 -05:00
Andy Cedilnik
c22cc421e0
ENH: Several cleanups and improvements
2005-01-27 15:54:47 -05:00
Andy Cedilnik
dc0ce24cc6
ENH: Add a superclass to all handlers
2005-01-27 11:43:22 -05:00
Andy Cedilnik
62b310bc52
ENH: Add compression support to XML files
2005-01-27 10:15:01 -05:00
Andy Cedilnik
f7063fc661
ENH: Add method to populate custom integers
2005-01-26 10:10:41 -05:00
Bill Hoffman
57bacd199c
BUG: when ctest is looking for cmake look in the build directory as well as where ctest is so that purify will work
2005-01-17 16:29:00 -05:00
Ken Martin
5a0366c6e0
ENH: added -U option to take union of -R and -I
2004-11-13 09:55:31 -05:00
Andy Cedilnik
fc70a2bb2a
ENH: Add development version support in CMake
2004-10-22 15:44:54 -04:00
Andy Cedilnik
429cf9d612
BUG: Remove instances of // in the output
2004-10-19 12:48:57 -04:00
Andy Cedilnik
cafd48a7f2
EHN: Even more cleanup
2004-10-19 12:38:32 -04:00
Andy Cedilnik
3de7010216
ENH: Add method to get the relative path to source or build
2004-10-17 22:46:23 -04:00
Andy Cedilnik
4ee2f266c6
ENH: Handle coverage errors
2004-10-17 18:49:42 -04:00
Andy Cedilnik
9594c888ab
BUG: On Windows, remove extra CR characters. Hopefully this will result in not duplicated new-lines
2004-10-11 13:57:33 -04:00
Andy Cedilnik
9e1288da10
PERF: Several cleanups, and remove need for Curl directory to be in include path
2004-10-05 16:14:04 -04:00
Andy Cedilnik
b847a6ac62
ERR: Fix Windows build
2004-10-05 10:00:36 -04:00
Andy Cedilnik
6e9ec4598d
ENH: Add CTEST_EXECUTABLE_NAME to CTest scripting. This way you do not have to specify ctest executable in CTEST_COMMAND, but just a variable
2004-10-01 12:21:16 -04:00
Andy Cedilnik
eadf3aea79
BUG: If notes file is missing, create empty notes file with error message
2004-09-27 13:36:47 -04:00
Bill Hoffman
3e03bed0ac
ENH: fix warning correctly
2004-09-10 14:40:28 -04:00
Ken Martin
685a8ed86f
fix dash8 warning
2004-09-10 08:42:02 -04:00