summaryrefslogtreecommitdiffstats
path: root/Source/CTest
Commit message (Collapse)AuthorAgeFilesLines
* Fixed line length over 80Zach Mullen2009-08-201-5/+6
|
* Fixed overwriting of a previous change setZach Mullen2009-08-192-0/+53
|
* ENH: Refactored CTest test execution code into an objectZach Mullen2009-08-194-65/+648
|
* Add test times to log file as well as the stdout.Bill Hoffman2009-08-181-2/+14
|
* If labels are found on the tests, then print a time summary for all the ↵Bill Hoffman2009-08-182-1/+49
| | | | tests run with each label.
* Fix classification of externals in svn statusBrad King2009-08-121-2/+2
| | | | | | | CTest runs 'svn status' to identify modified and conflicting files in the working directory. This commit fixes the interpretation of the 'X' status, which corresponds to svn eXternals. This status should be ignored rather than treated as a local modification.
* Output total time when using -j NBill Hoffman2009-08-123-2/+3
|
* Fix failing test on release build for VS 10 cmSystemTools::GetLineFromStream ↵Bill Hoffman2009-08-111-1/+1
| | | | crashes if the stream is not open in that case.
* Set current directory variables in CTest scriptsBrad King2009-07-311-0/+6
| | | | | | | | | | | | | | The commit "Fix get_filename_component ABSOLUTE mode" broke the code get_filename_component(cwd . ABSOLUTE) because CTest scripts did not make cmMakefile::GetCurrentDirectory() available. This commit fixes the problem by setting the proper information on CTest script instances of cmMakefile. This also makes CMAKE_CURRENT_SOURCE_DIR and CMAKE_CURRENT_BINARY_DIR available to CTest scripts. They are set to the working directory at script startup.
* BUG: Do not double-initialize local generatorsBrad King2009-07-282-2/+0
| | | | | | | | | 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.
* ENH: add test times and a total time to the output of command line ctestBill Hoffman2009-07-271-8/+23
|
* ENH: fix warningBill Hoffman2009-07-191-1/+1
|
* ENH: fix warningBill Hoffman2009-07-171-1/+1
|
* ENH: compute the max test name width based on the length of the testsBill Hoffman2009-07-171-0/+15
|
* STYLE: don't load CMakeDetermineSystem and CMakeSystemSpecific directly fromAlexander Neundorf2009-07-121-13/+5
| | | | | | | | cmCTestScriptHandler, but have it load the new script CTestScriptMode.cmake -> that makes it more flexible, also add a simple test that the system name has been determined correctly Alex
* STYLE: move the code for writing the initial cache into its own separateAlexander Neundorf2009-07-112-12/+31
| | | | | | function, makes the long ProcessHandler() a little bit shorter Alex
* STYLE: rename InitCache to InitialCache, since it contains the contents forAlexander Neundorf2009-07-112-5/+5
| | | | | | | the initial cache and is not e.g. a flag which shows whether the cache should be initialized Alex
* COMP: Fix cmCTestHG for old HP compilerBrad King2009-07-101-2/+2
| | | | The compiler does not have a fully compliant std::string.
* ENH: Teach CTest to handle Mercurial repositoriesBrad King2009-07-105-1/+419
| | | | | | | | | | | This creates cmCTestHG to drive CTest Update handling on hg-based work trees. Currently we always update to the head of the remote tracking branch (hg pull), so the nightly start time is ignored for Nightly builds. A later change will address this. See issue #7879. Patch from Emmanuel Christophe. I modified the patch slightly for code style, to finish up some parsing details, and to fix the test.
* ENH: Reports "Passed" for WILL_FAIL testsBrad King2009-07-021-67/+48
| | | | | | | | | | Previously tests marked with WILL_FAIL have been reported by CTest as ...............***Failed - supposed to fail when they correctly failed. Now we just report ".....Passed" because there is no reason to draw attention to something that works as expected.
* ENH: add reminder commentBill Hoffman2009-06-251-0/+1
|
* ENH: set an upload speed limit for ctestBill Hoffman2009-06-251-0/+5
|
* 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.