Brad King
0847d825b3
ENH: Create internal 'ctest --launch' tool
...
This creates an undocumented 'ctest --launch' mode. It launches a
specified command and optionally records a failure in an xml fragment.
We will optionally use this in CTest's Build stage to record per-rule
build failure information when using Makefile generators.
2009-02-11 11:31:25 -05:00
Bill Hoffman
4e710a9ebe
ENH: add the ability to run tests by labels
2009-02-10 14:24:24 -05:00
Bill Hoffman
70363cbf8f
BUG: partial fix for 8056 -W now works with -j
2009-02-10 14:19:50 -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
d18ae05da1
ENH: Re-order generation of build summary and xml
...
This moves the error/warning count summary printed by
cmCTestBuildHandler to after Build.xml is generated. Later we will
compute the counts during generation of the xml.
2009-02-04 14:34:25 -05:00
Brad King
5f65e04ea2
ENH: Refactor Build.xml generation
...
This divides cmCTestBuildHandler::GenerateDartBuildOutput into three
methods to generate the header, content, and footer components of
Build.xml files. It will allow the content generation to be replaced
later.
2009-02-04 14:34:12 -05:00
David Cole
c6d499aba5
COMP: Iterator version of std::set not available with vs6 implementation of STL. Use explicit iteration to insert individual elements one at a time. Sigh.
2009-02-04 12:38:03 -05:00
David Cole
6f88b29121
ENH: Add FILES arg to the ctest_submit command. BUG: Propagate the IsCDash setting properly to the ctest configuration during a submit. Also, do not propagate TriggerSite for projects submitting to CDash. No triggers are necessary with CDash.
2009-02-03 11:52:54 -05:00
Brad King
cc2092d5bb
ENH: Put test labels in MemCheck results
...
This refactors generation of <Test> element headers and footers in
cmCTestTestHandler and re-uses it in cmCTestMemCheckHandler. The change
removes duplicate code and enables the new <Labels> element for MemCheck
results.
2009-02-02 13:24:26 -05:00
Bill Hoffman
56ea0ad186
STYLE: fix warning
2009-01-29 09:26:40 -05:00
Bill Hoffman
a26c70477c
STYLE: fix warning
2009-01-28 16:56:33 -05:00
Brad King
6ae2f8e7ee
BUG: Fix CTest submit-only operation
...
We need to initialize cmCTestSubmitHandler on construction to make sure
all parts get enabled by default. The recent fix to re-enable all parts
on initialization broke submit-only operations because the handler did
not initialize on construction. This also removes duplicate
initialization code.
2009-01-27 10:58:25 -05:00
David Cole
0a23c0ee40
BUG: Fix issue #8363 . Wrap output with MakeXMLSafe calls so that the generated XML files are valid, parse-able XML.
2009-01-22 07:16:05 -05:00
Bill Hoffman
40366f6ced
ENH: fix part submission to not have memory of the last part submission
2009-01-15 13:24:54 -05:00
Bill Hoffman
be52e3b6fc
BUG: fix for bug #8174
2009-01-15 10:32:56 -05:00
Bill Hoffman
046449e2f7
ENH: fix return value to ctest_build and remove debug print in cmProcess
2009-01-14 13:48:03 -05:00
Bill Hoffman
82c3afcf6f
ENH: allow ctest_build to return error and warning counts
2009-01-14 13:01:38 -05:00
Brad King
e92d99d05c
COMP: Fix const set find for Borland 5.5
...
The Borland 5.5 compiler's STL set does not define correct signatures
for its find() members, leading to build errors. This works around the
problem.
2009-01-14 09:51:58 -05:00
Brad King
d66c25c2f0
ENH: Teach ctest_submit about parts
...
This adds a PARTS option to the ctest_submit command which tells it to
submit only parts whose names are listed with the option.
2009-01-12 10:38:27 -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
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
ae2c4143d2
ENH: Refactor CTest command argument handling
...
The previous approach to handling of arguments to ctest_* commands
worked only for keyword/value arguments with a single value. This
refactors the approach to allow some commands to define alternative
argument forms.
2009-01-12 09:10:47 -05:00
Bill Hoffman
ed387ffe6b
ENH: add subproject tag property for ctest
2009-01-09 12:05:23 -05:00
Brad King
377bebb910
ENH: Teach CTest to submit test property LABELS
...
This teaches CTest to send the test property "LABELS" in Test.xml
dashboard submissions as Label elements inside a Labels element.
2009-01-07 10:41:37 -05:00
Brad King
f0e6000827
BUG: Manage LC_MESSAGES with an object
...
This moves management of the LC_MESSAGES environment variable into an
automatic variable. Previously if an error occurred the original
environment value was not restored. This makes the fix to issue #5936
more robust.
2009-01-06 14:58:30 -05:00
Brad King
c2d2a412b8
STYLE: Remove trailing whitespace
2009-01-06 14:41:56 -05:00
David Cole
9457ca3cf5
ENH: Add OPTIONS argument to the ctest_configure command so that you can pass -D arguments to the cmake configure step from a ctest -S script. Also clarify/correct some not so helpful error messages.
2008-12-30 09:13:02 -05:00
Bill Hoffman
ede2be4be1
ENH: add start end time for procs
2008-12-29 17:49:17 -05:00
David Cole
61cda77869
STYLE: Fix line length violation.
2008-12-26 15:27:01 -05:00
Bill Hoffman
690f83b81b
STYLE: fix shadow warning
2008-12-19 10:19:37 -05:00
Bill Hoffman
f5ee5cc04f
BUG: partial fix for #8056
2008-12-18 21:59:25 -05:00
Bill Hoffman
5b1139caea
BUG: fix for bug #8224 fix crash
2008-12-18 21:57:42 -05:00
Brad King
4c725d1e0e
ENH: Minor readability improvement in CTest output
...
When ctest --build-and-test runs the --test-command its output did not
quote the arguments of the command being tested making it difficult to
read. This adds the quotes. This also changes the wording of the
failure case to not sound like CTest could not run the executable when
in fact it ran and returned failure.
2008-12-18 12:27:59 -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
Alexander Neundorf
45aec04508
ENH: load CMakeDetermineSystem and CMakeSystemSpecificInformation when
...
executing a ctest script so the search paths are fully set up and variables
like CMAKE_SYSTEM are available. This is useful e.g. for new-style ctest
scripting.
(these files are also loaded on startup by cpack, so now they behave
similar).
Hmmm, maybe they should be also loaded by cmake -P ?
Alex
2008-11-07 15:56:54 -05:00
Bill Hoffman
935e984900
BUG: use LC_MESSAGES = C instead of en_EN
2008-10-19 10:44:16 -04:00
Brad King
9d1f471845
BUG: Fix recognition of files deleted from CVS
...
The output of "cvs update" contains a line such as one of
cvs update: `foo.txt' is no longer in the repository
cvs update: foo.txt is no longer in the repository
cvs update: warning: foo.txt is not (any longer) pertinent
when file "foo.txt" has been removed in the version to which the update
occurs. Previously only the first case would be recognized. This fixes
the regular expression to match all these cases.
2008-10-18 12:07:15 -04:00
Bill Hoffman
74e606a270
ENH: play it safe and restore the value of LC_MESSAGES
2008-10-10 09:36:16 -04:00
Bill Hoffman
d306ab66b1
ENH: make sure LC_MESSAGES is en_EN so that we can parse the output of svn and cvs
2008-10-10 09:23:49 -04:00
Bill Hoffman
57a2a408c4
BUG: fix for 5218 Error message pattern match for VS8
2008-10-09 13:00:31 -04:00
Alexander Neundorf
3b0862749d
STYLE: lowercase ctest_test() in the documentation
...
Alex
2008-10-08 17:58:39 -04:00
Bill Hoffman
71fee8522e
STYLE: fix line length issues
2008-10-02 09:18:47 -04:00
Bill Hoffman
32bc02d660
BUG: undo fix for 7292 because a switched file should show up as an odd thing on the dashbaord
2008-10-01 12:46:45 -04: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
3864910681
BUG: fix for bug 7292, svn parsing flagged errors or conflicts for switched or locked files
2008-09-09 13:12:46 -04:00
Bill Hoffman
6bc394c8e5
BUG: 0007569 add ability to do -R/-E in ctest_test command
2008-09-09 11:44:16 -04:00
Brad King
810c47f56e
BUG: Make CTest honor user-specified config
...
When the -C or --build-config option is used to specify the
configuration to be tested by CTest, do not override it with the
configuration in which CTest is built.
2008-09-04 11:31:10 -04:00
David Cole
86e7a9dad8
ENH: Add RecurseThroughSymlinks data member to kwsys::Glob. Allows recursive globs to skip symlinks when necessary. Default to true for backwards compatible behavior. Used from the ctest coverage handler to avoid recursing through the '/Applications' directory on the Mac looking for *.da files... Should fix the hangs reported recently by Mac CMake dashboard submitters.
2008-08-20 13:24:16 -04:00
David Cole
5a0389a0b7
BUG: Fix issue#4792 - improve verbose and log output when ctest cannot find a file during coverage analysis.
2008-07-31 14:16:34 -04:00
David Cole
f059ebff69
BUG: Fix issue #4971 - use lower case when comparing file names from gcov output on _WIN32 since sometimes the drive letters have different case.
2008-07-31 11:28:45 -04:00
Bill Hoffman
bc58fe6485
COMP: fix warning
2008-07-06 22:06:08 -04:00
Bill Hoffman
a4ae5a72a0
COMP: fix some more warnings
2008-07-06 20:03:08 -04:00
Bill Hoffman
cb4eaeabe5
COMP: fix a few more warnings
2008-07-06 19:58:38 -04:00
Bill Hoffman
5292b3edef
COMP: try to fix sgi compiler problem with set and also shorten symbol lengths for set class
2008-07-04 10:28:22 -04:00
Bill Hoffman
112d377fbb
COMP: fix more warnings
2008-07-04 10:10:30 -04:00
Bill Hoffman
fba54c56f2
COMP: fix warning
2008-07-04 09:55:26 -04:00
Bill Hoffman
7098b666fa
COMP: fix some warnings
2008-07-04 09:50:32 -04:00
Bill Hoffman
9e167b6800
ENH: one more fix for the old hp c++ compiler
2008-07-03 16:26:03 -04:00
Bill Hoffman
f188d0e241
ENH: one more fix for hp
2008-07-03 15:02:52 -04:00
Bill Hoffman
096c139c80
ENH: fix for old hp compiler
2008-07-03 13:55:36 -04:00
Bill Hoffman
7950b99d9d
ENH: add missing file
2008-07-03 09:49:49 -04:00
Bill Hoffman
bb7b27e417
ENH: add initial ctest -j feature
2008-07-03 09:31:33 -04:00
Bill Hoffman
bf3598bab4
BUG: make sure ctest sees the output of the cmake run in build and test cases, it was not...
2008-06-18 09:07:53 -04:00
Bill Hoffman
aa53857f59
BUG: fix for bug 7136
2008-06-17 14:03:49 -04:00
Ken Martin
5020a1f4a0
ENH: make tes test finding logic also try full paths as relative paths because some folks have been doing that and 2.4 handled it
2008-05-30 09:14:25 -04:00
Bill Hoffman
1427aa8391
BUG: fix for bug 7077 handle DartMeasurement tags with tyep text/html
2008-05-23 11:28:46 -04:00
Alexander Neundorf
39bf28f5d2
STYLE: use lower case also for the ctest-specific commands, as in cmake
...
I hope I didn't make a typo anywhere, at least the tests still succeed
Alex
2008-05-12 09:11:51 -04:00
Bill Hoffman
ffbe61bb11
ENH: make sure english is used for output of gcov
2008-05-10 11:12:09 -04:00
Bill Hoffman
2b6ee95c1d
BUG: 0006988 do not set coverage to false when it is not
2008-05-08 12:47:30 -04:00
David Cole
530c206cba
BUG: Missing a linker crashed error matching string.
2008-03-19 11:18:40 -04:00
Bill Hoffman
bb5325f7f9
STYLE: fix line len
2008-03-04 13:34:21 -05:00
Bill Hoffman
22dc873ef0
ENH: allow cdash not to trigger
2008-02-29 14:58:33 -05:00
Bill Hoffman
5a36673807
STYLE: line length
2008-01-31 16:38:45 -05:00
Ken Martin
70e9412dc7
BUG: minor fix for ctest
2008-01-31 16:33:07 -05:00
Ken Martin
21852384e0
ENH: read in old file formats Dart as well
2008-01-31 11:43:44 -05:00
Bill Hoffman
21e6791789
ENH: remove warnings
2008-01-30 11:54:55 -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
0e69d38004
ENH: add return and break support to cmake, also change basic command invocation signature to be able to return extra informaiton via the cmExecutionStatus class
2008-01-23 10:28:26 -05:00
Ken Martin
c3ab83150c
ENH: improve backwards compatibility
2008-01-19 15:09:36 -05:00
Ken Martin
7c473d4828
BUG: fix bugs 5539 (progress going beyond 100% when new files are added) and 5889 (tests are not found in some cases when using add_subdirectory to .. etc)
2008-01-18 10:25:25 -05:00
Ken Martin
456631225b
ENH: use CTestTestfile.txt
2008-01-17 12:44:59 -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
Bill Hoffman
17e94192e6
ENH: add support for CDash bullseye coverage
2007-11-16 11:32:38 -05:00
Bill Hoffman
43c8923f14
BUG: try to fix crash
2007-11-08 13:03:37 -05:00
Brad King
696a016444
COMP: Fix check for file-too-big to avoid warnings.
2007-11-07 09:12:34 -05:00
Brad King
f410f8578e
COMP: Fix warnings on 64-bit Mac OS X build. Patch from issue #3697 .
2007-11-05 14:34:36 -05:00
Bill Hoffman
5059adb5ff
ENH: fix line length issues
2007-09-24 11:10:55 -04:00
Bill Hoffman
797db515a0
ENH: fix failing test when valgrind is on
2007-09-19 11:16:57 -04:00
Bill Hoffman
267fd538d8
ENH: fix build issue with config type not being specified by ctest
2007-09-17 10:40:57 -04:00
Bill Hoffman
1f99030cfa
ENH: for build and test default the config type to the one that ctest was built with, it is good for the current ctest setup, and other projects can always specify a value on the command line
2007-09-11 14:43:17 -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
Alexander Neundorf
3daac0432c
STYLE: fix typo
...
Alex
2007-08-28 13:46:57 -04:00
Bill Hoffman
fa46cb5572
ENH: fix output and valgrind truncation issue
2007-08-10 16:28:48 -04:00
Alexander Neundorf
9bd32386c2
COMP: this copy of curl is unused, the one in Utilities/cmcurl/ is used
...
Alex
2007-08-09 14:26:10 -04:00
Bill Hoffman
65ae576c01
ENH: make sure there is an error and notify user if nightly start time not set
2007-08-03 16:44:57 -04:00
Bill Hoffman
e8f3b5ff00
ENH: show files as untested if no lines are covered
2007-08-03 16:44:04 -04:00
Bill Hoffman
1d250298d0
ENH: fatal error if cvs update fails
2007-08-03 16:42:47 -04:00