summaryrefslogtreecommitdiffstats
path: root/Source/CTest
Commit message (Collapse)AuthorAgeFilesLines
* BUG: Fix CVS update parsing for TortoiseCVSBrad King2009-06-231-2/+3
| | | | | | | The TortoiseCVS version of cvs.exe includes the '.exe' in cvs update messages for files removed from the repository. This change accounts for it in the regular expressions that match such lines. Now removed files are properly reported by ctest_update() when using TortoiseCVS.
* STYLE: fix warningBill Hoffman2009-06-151-0/+1
|
* BUG: fix crash when running ctest coverage for VTKBill Hoffman2009-06-151-0/+12
|
* ENH: Disable the xmlrpc drop method by defaultBrad King2009-06-111-0/+17
| | | | | | | We've chosen to drop our default dependence on xmlrpc. Thus we disable the corresponding CTest submission method and remove the sources for building xmlrpc locally. Users can re-enable the method by setting the CTEST_USE_XMLRPC option to use a system-installed xmlrpc library.
* BUG: fix for bug #8153 add purify suppression file and fix output to not be ↵Bill Hoffman2009-05-271-0/+17
| | | | one big line
* BUG: Parse more bzr xml output encodingsBrad King2009-05-181-1/+6
| | | | | | | The BZR xml output plugin can use some encodings that are not recognized by expat, which leads to "Error parsing bzr log xml: unknown encoding". This works around the problem by giving expat a mapping, and adds a test. Patch from Tom Vercauteren. See issue #6857.
* ENH: Remove CTest public.kitware.com drop defaultBrad King2009-05-151-34/+6
| | | | | | | | | Previously CTest would drop dashboard submissions at public.kitware.com on the PublicDashboard project if there was no configuration. The server no longer supports forwarding to cdash.org, so there is no point in this default. Furthermore, there should be no default at all because it could leak information about proprietary projects that are not configured correctly.
* ENH: Teach CTest to handle Bazaar repositoriesBrad King2009-05-145-0/+603
| | | | | | | | This creates cmCTestBZR to drive CTest Update handling on bzr-based work trees. Currently we always update to the head of the remote tracking branch (bzr pull), so the nightly start time is ignored for Nightly builds. A later change will address this. Patch from Tom Vercauteren. See issue #6857.
* BUG: Remove '-d<now' from 'cvs log' commandsBrad King2009-04-291-1/+1
| | | | | | | When CTest runs 'cvs log' to get revision information for updated files, we were passing '-d<now'. The option seems useless since revisions cannot be created in the future, and can lose revisions if the client machine clock is behind the server.
* COMP: Fix class reference for HP aCCBrad King2009-04-221-1/+1
|
* ENH: Teach CTest to handle git repositoriesBrad King2009-04-225-1/+492
| | | | | | | This creates cmCTestGIT to drive CTest Update handling on git-based work trees. Currently we always update to the head of the remote tracking branch (git pull), so the nightly start time is ignored for Nightly builds. A later change will address this. See issue #6994.
* ENH: Factor global-VC parts out of cmCTestSVNBrad King2009-04-224-114/+211
| | | | | | This factors parts of the svn update implementation that are useful for any globally-versioning vcs tool into cmCTestGlobalVC. It will allow the code to be shared among the support classes for most vcs tools.
* ENH: make sure CTEST_CURL_OPTIONS work from script modeBill Hoffman2009-04-171-0/+2
|
* ENH: remove warning and improve messageBill Hoffman2009-04-111-6/+1
|
* ENH: remove cerr callBill Hoffman2009-04-101-1/+0
|
* ENH: add ability to control ssl cert checkingBill Hoffman2009-04-101-2/+36
|
* ENH: use 0 not FALSEBill Hoffman2009-03-311-1/+1
|
* ENH: add submit via cp modeBill Hoffman2009-03-312-3/+82
|
* BUG: Fix return value of ctest_updateBrad King2009-03-202-4/+4
| | | | | | | The CTest version control refactoring broke the value returned for the ctest_update command's RETURN_VALUE argument. The value is supposed to be the number of files updated, but the refactoring accidentally made it the number of locally modified files after the update.
* ENH: allow for https submission if ctest is built with a curl that supports itBill Hoffman2009-03-121-4/+5
|
* BUG: Do not produce empty coverage log filesBrad King2009-03-111-20/+21
| | | | | | | This moves the filtering of source files to before the production of coverage log files in order to avoid producing a CoverageLog-*.xml file for 100 filtered-out files. The change greatly reduces the number of submitted coverage files when using label filters.
* BUG: Do not carry over file list between coverageBrad King2009-03-111-0/+1
| | | | | | | | When performing multiple ctest_coverage() commands in a single CTest instance we need to clear the list of CoverageLog-*.xml files for submission. Otherwise if the current coverage run produces fewer log files than the previous run CTest will attempt to submit non-existing files.
* BUG: Avoid duplicate CTest coverage submissionBrad King2009-03-112-0/+20
| | | | | | This teaches ctest_coverage() to remove any existing CoverageLog-*.xml when it creates new coverage results. Otherwise the next ctest_submit() may submit old coverage log files which unnecessarily.
* ENH: Efficiently filter CTest coverage by labelBrad King2009-03-092-18/+58
| | | | | | | This teaches CTest to process coverage information only for object files in targets containing labels of interest. This change also improves loading of global coverage information by globbing only in each target support directory instead of the entire build tree.
* ENH: Generate a central list of target directoriesBrad King2009-03-092-6/+13
| | | | | | | | This generalizes the previous CMakeFiles/LabelFiles.txt created at the top of the build tree to a CMakeFiles/TargetDirectories.txt file. It lists the target support directories for all targets in the project. Labels can still be loaded by looking for Labels.txt files in each target directory.
* BUG: Initialize ctest_coverage command ivarBrad King2009-03-052-1/+8
| | | | This initializes the LabelsMentioned ivar in cmCTestCoverageCommand.
* BUG: make sure error condition is reset before loading scriptsBill Hoffman2009-03-041-5/+10
|
* ENH: Teach ctest_coverage to filter with LABELSBrad King2009-03-024-4/+105
| | | | | This teaches ctest_coverage() to report only coverage of files labeled with at least one label given by a new LABELS option.
* BUG: Fix coverage label reports for BullseyeBrad King2009-03-021-4/+6
| | | | | This teaches CTest to report Labels elements in the Coverage.xml file for Bullseye coverage results.
* BUG: Fix coverage handler initializationBrad King2009-03-021-2/+5
| | | | | This resets coverage handler internal state on initialization so that multiple coverage runs are independent.
* BUG: #8611 add pass fail reasons into log fileBill Hoffman2009-02-271-18/+42
|
* ENH: Refactor initial checkout into cmCTestVCBrad King2009-02-263-40/+51
| | | | | | | This adds cmCTestVC::InitialCheckout and uses it in cmCTestUpdateHandler to run the initial checkout command. The new implementation logs the command in the update log consistently with the rest of the new update implementation.
* COMP: Fix cmCTestVC member access for HP compilerBrad King2009-02-252-1/+5
| | | | | The HP C++ compiler needs some help to allow access to some member classes of cmCTestVC.
* ENH: Rewrite CTest Update implementationBrad King2009-02-257-641/+901
| | | | | | | | | | | | | | | This adds a new VCS update implementation to the cmCTestVC hierarchy and removes it from cmCTestUpdateHandler. The new implementation has the following advantages: - Factorized implementation instead of monolithic function - Logs vcs tool output as it is parsed (less memory, inline messages) - Uses one global svn log instead of one log per file - Reports changes on cvs branches (instead of latest trunk change) - Generates simpler Update.xml (only one Directory element per dir) Shared components of the new implementation appear in cmCTestVC and may be re-used by subclasses for other VCS tools in the future.
* COMP: Fix cmCTestVC char[]->string Borland warningBrad King2009-02-251-1/+1
| | | | | The Borland compiler warns about returning a char[] from a function with return type std::string without an explicit construction.
* ENH: add a CDash measured value showing the reason for passed and failed ↵Bill Hoffman2009-02-243-9/+28
| | | | tests based on regular expressions
* ENH: Teach cmCTestSVN to load repo/tree relationBrad King2009-02-242-0/+51
| | | | | | This teaches cmCTestSVN::NoteNewRevision to save the repository URL checked out in the work tree, the repository root, and the path below the root to reach the full URL.
* ENH: Factor out VCS work tree revision checksBrad King2009-02-245-83/+100
| | | | | This moves checks of the work tree revision before and after update from cmCTestUpdateHandler::ProcessHandler into the cmCTestVC hierarchy.
* ENH: Factor out nightly start time computationBrad King2009-02-243-12/+22
| | | | | Move generation of the nightly start time string from cmCTestUpdateHandler::ProcessHandler into cmCTestVC.
* ENH: Factor out svn work tree cleanupBrad King2009-02-245-42/+36
| | | | | This removes work tree cleanup from cmCTestUpdateHandler and adds an interface for it in cmCTestVC with an implementation in cmCTestSVN.
* ENH: Create cmCTestVC::RunChild and parse helpersBrad King2009-02-242-2/+40
| | | | | This method will help VCS tool subclasses run child processes and log the output while parsing it.
* ENH: Add cmCTestCVS and cmCTestSVNBrad King2009-02-245-0/+141
| | | | | These cmCTestVC subclasses will implement interaction with CVS and SVN tools.
* ENH: Create cmCTestVC for VCS interactionBrad King2009-02-242-0/+96
| | | | | This creates cmCTestVC, the base for a forthcoming class hierarchy to interact with version control systems.
* ENH: Factor out VCS tool detectionBrad King2009-02-242-64/+99
| | | | | | | In cmCTestUpdateHandler, this factors out version control tool detection from the monolithic cmCTestUpdateHandler::ProcessHandler to separate methods. This also places priority on detection of the tool managing the source tree since using any other tool will cause errors.
* ENH: Factor out initial checkout methodBrad King2009-02-242-58/+67
| | | | | | This moves the initial checkout code from the monolithic cmCTestUpdateHandler::ProcessHandler to a separate method cmCTestUpdateHandler::InitialCheckout.
* ENH: Refactor quoting of VCS tool commandBrad King2009-02-231-11/+9
| | | | | | Previously we pre-quoted the command line tool path. This avoids it by quoting the command everywhere it is used, thus preserving access to the original, unquoted command.
* ENH: Document APPEND option in ctest_* commandsBrad King2009-02-206-10/+20
| | | | | | This adds documentation of the APPEND option to the configure, build, test, memcheck, and coverage commands. The docs leave specific semantics for the dashboard server to define.
* ENH: Improve ctest_* command documentationBrad King2009-02-206-19/+36
| | | | | | This corrects the terse documentation and adds detail to the full documentation of some commands. It also normalizes the layout of the documentation string endings to make adding lines easier.
* ENH: More documentation for ctest_submit commandBrad King2009-02-201-5/+16
| | | | This clarifies the terse documentation and lists valid values for PARTS.
* ENH: Remove generation of unused Update.xml partsBrad King2009-02-172-70/+7
| | | | | | | | | | This removes generation of some Update.xml content that is not used by any Dart1, Dart2, or CDash servers: - Revisions elements - Directory attribute of File elements - File elements within Author elements The content was generated only because the original Dart1 Tcl client generated it, but the content was never used.