summaryrefslogtreecommitdiffstats
path: root/Source/CTest
Commit message (Collapse)AuthorAgeFilesLines
* BUG: Fix CTEST_USE_LAUNCHERS in dashboard scriptsBrad King2009-02-131-0/+6
| | | | | | Since CTest does not currently load configuration settings computed at CMake Configure time while running dashboard scripts, the ctest_build command must honor the CTEST_USE_LAUNCHERS option directly.
* ENH: Report file names relative to source dirBrad King2009-02-123-4/+52
| | | | | This teaches cmCTestLaunch to report source files that lie under the top source directory relative to the top.
* BUG: Do not drop build fragments with same timeBrad King2009-02-121-3/+4
| | | | | | When we collect Build.xml fragments generated by 'ctest --launch', this lexicographically orders fragments with the same time stamp on disk instead of incorrectly dropping duplicates.
* ENH: Teach CTest dashboard builds to use launchersBrad King2009-02-112-2/+245
| | | | | | | | | | | This defines a 'UseLaunchers' CTest configuration option. When enabled, CTest skips log scraping from the Build step output. Instead it defines the environment variable CTEST_LAUNCH_LOGS to a log directory during the build. After the build it looks for error-*.xml and warning-*.xml files containing fragments for inclusion in Build.xml and submission. This is useful in conjuction with 'ctest --launch' and the RULE_LAUNCH_* properties to get reliable, highly-granular build failure reports.
* COMP: Do not use modern empty init list syntaxBrad King2009-02-111-2/+2
| | | | | | cmCTestLaunch first used an empty initializer list to zero-initialize a buffer, but this is not supported on older compilers. Instead we avoid the need for initialization altogether.
* ENH: Create internal 'ctest --launch' toolBrad King2009-02-112-0/+785
| | | | | | | 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.
* ENH: add the ability to run tests by labelsBill Hoffman2009-02-104-3/+130
|
* BUG: partial fix for 8056 -W now works with -jBill Hoffman2009-02-101-0/+7
|
* ENH: Create cmXMLSafe to help escapes in XMLBrad King2009-02-056-53/+59
| | | | | | | 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.
* ENH: Re-order generation of build summary and xmlBrad King2009-02-041-8/+9
| | | | | | 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.
* ENH: Refactor Build.xml generationBrad King2009-02-042-11/+19
| | | | | | | 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.
* COMP: Iterator version of std::set not available with vs6 implementation of ↵David Cole2009-02-041-3/+11
| | | | STL. Use explicit iteration to insert individual elements one at a time. Sigh.
* ENH: Add FILES arg to the ctest_submit command. BUG: Propagate the IsCDash ↵David Cole2009-02-034-26/+156
| | | | 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.
* ENH: Put test labels in MemCheck resultsBrad King2009-02-023-65/+59
| | | | | | | 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.
* STYLE: fix warningBill Hoffman2009-01-291-1/+1
|
* STYLE: fix warningBill Hoffman2009-01-281-1/+1
|
* BUG: Fix CTest submit-only operationBrad King2009-01-271-8/+1
| | | | | | | | 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.
* BUG: Fix issue #8363. Wrap output with MakeXMLSafe calls so that the ↵David Cole2009-01-221-6/+12
| | | | generated XML files are valid, parse-able XML.
* ENH: fix part submission to not have memory of the last part submissionBill Hoffman2009-01-152-5/+6
|
* BUG: fix for bug #8174Bill Hoffman2009-01-152-2/+14
|
* ENH: fix return value to ctest_build and remove debug print in cmProcessBill Hoffman2009-01-142-8/+3
|
* ENH: allow ctest_build to return error and warning countsBill Hoffman2009-01-145-6/+49
|
* COMP: Fix const set find for Borland 5.5Brad King2009-01-141-1/+2
| | | | | | 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.
* ENH: Teach ctest_submit about partsBrad King2009-01-124-4/+88
| | | | | This adds a PARTS option to the ctest_submit command which tells it to submit only parts whose names are listed with the option.
* ENH: Divide CTest file submission list by partBrad King2009-01-128-27/+36
| | | | | | 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.
* ENH: Teach ctest_* to create appending XML filesBrad King2009-01-129-7/+24
| | | | | 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.
* ENH: Refactor CTest command argument handlingBrad King2009-01-122-50/+64
| | | | | | | 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.
* ENH: add subproject tag property for ctestBill Hoffman2009-01-091-1/+1
|
* ENH: Teach CTest to submit test property LABELSBrad King2009-01-072-1/+41
| | | | | This teaches CTest to send the test property "LABELS" in Test.xml dashboard submissions as Label elements inside a Labels element.
* BUG: Manage LC_MESSAGES with an objectBrad King2009-01-061-25/+44
| | | | | | | 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.
* STYLE: Remove trailing whitespaceBrad King2009-01-061-3/+3
|
* ENH: Add OPTIONS argument to the ctest_configure command so that you can ↵David Cole2008-12-304-14/+50
| | | | pass -D arguments to the cmake configure step from a ctest -S script. Also clarify/correct some not so helpful error messages.
* ENH: add start end time for procsBill Hoffman2008-12-292-0/+6
|
* STYLE: Fix line length violation.David Cole2008-12-261-2/+1
|
* STYLE: fix shadow warningBill Hoffman2008-12-191-4/+4
|
* BUG: partial fix for #8056Bill Hoffman2008-12-192-0/+82
|
* BUG: fix for bug #8224 fix crashBill Hoffman2008-12-192-8/+50
|
* ENH: Minor readability improvement in CTest outputBrad King2008-12-181-3/+3
| | | | | | | | 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.
* ENH: Implement feature request from issue 7885. Allow setting environment ↵David Cole2008-11-263-6/+17
| | | | variables on a per-test basis for ctest using set_test_properties ENVIRONMENT.
* ENH: add more debug stuff to CTestCTest2 so I can figure out redwallBill Hoffman2008-11-232-0/+7
|
* ENH: load CMakeDetermineSystem and CMakeSystemSpecificInformation whenAlexander Neundorf2008-11-071-0/+20
| | | | | | | | | | | 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
* BUG: use LC_MESSAGES = C instead of en_ENBill Hoffman2008-10-191-4/+4
|
* BUG: Fix recognition of files deleted from CVSBrad King2008-10-181-1/+8
| | | | | | | | | | | | 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.
* ENH: play it safe and restore the value of LC_MESSAGESBill Hoffman2008-10-101-1/+17
|
* ENH: make sure LC_MESSAGES is en_EN so that we can parse the output of svn ↵Bill Hoffman2008-10-101-0/+8
| | | | and cvs
* BUG: fix for 5218 Error message pattern match for VS8Bill Hoffman2008-10-091-1/+2
|
* STYLE: lowercase ctest_test() in the documentationAlexander Neundorf2008-10-081-1/+1
| | | | Alex
* STYLE: fix line length issuesBill Hoffman2008-10-021-7/+11
|
* BUG: undo fix for 7292 because a switched file should show up as an odd ↵Bill Hoffman2008-10-011-1/+1
| | | | thing on the dashbaord
* STYLE: fix line length stuff for KWStyleBill Hoffman2008-10-011-3/+6
|