summaryrefslogtreecommitdiffstats
path: root/Source/CTest
Commit message (Collapse)AuthorAgeFilesLines
* CTest: Capture test stdout/stderr through one pipe (#15600)Brad King2015-06-033-22/+7
| | | | | | | Use the KWSys Process "MergeOutput" option to give each test child process the same pipe for both stdout and stderr. This allows natural merging of stdout and stderr together instead of merging on arbitrary buffered read boundaries as before.
* Merge topic 'ctest-xml-refactor'Brad King2015-05-2821-640/+581
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | de2ef305 cmCTest: Drop unused method overloads b04500a7 cmCTest{Test,MemCheck}Handler: Port to cmXMLWriter 8fbc509a cmCTestCoverageHandler: Port to cmXMLWriter 82455a9d cmCTestBuildHandler: Port to cmXMLWriter 1dbd86fd cmCTestLaunch: Port to cmXMLWriter a53bd63e cmCTest: Port GenerateNotesFile to cmXMLWriter 9c0bb7d8 cmCTestConfigureHandler: Port to cmXMLWriter 6cf5cc71 cmCTestUploadHandler: Port to cmXMLWriter ed42c203 cmCTestUpdateHandler: Port to cmXMLWriter 18825baf cmCTest: Port to cmXMLWriter f6413400 Add cmXMLWriter class to consolidate XML generation
| * cmCTest{Test,MemCheck}Handler: Port to cmXMLWriterDaniel Pfeifer2015-05-264-224/+202
| |
| * cmCTestCoverageHandler: Port to cmXMLWriterDaniel Pfeifer2015-05-262-158/+153
| |
| * cmCTestBuildHandler: Port to cmXMLWriterDaniel Pfeifer2015-05-262-63/+46
| |
| * cmCTestLaunch: Port to cmXMLWriterDaniel Pfeifer2015-05-262-74/+61
| |
| * cmCTestConfigureHandler: Port to cmXMLWriterDaniel Pfeifer2015-05-261-22/+16
| |
| * cmCTestUploadHandler: Port to cmXMLWriterDaniel Pfeifer2015-05-261-21/+25
| |
| * cmCTestUpdateHandler: Port to cmXMLWriterDaniel Pfeifer2015-05-269-78/+78
| |
* | Merge topic 'ctest-xml-minor-cleanup'Brad King2015-05-284-15/+6
|\ \ | |/ | | | | | | | | b26e5b55 CTest: Generate NamedMeasurement elements directly into xml file 965cf8e6 CTest: Drop stray content from Configure.xml
| * CTest: Generate NamedMeasurement elements directly into xml fileDaniel Pfeifer2015-05-263-10/+6
| | | | | | | | Re-order the logic to avoid use of a temporary std::ostringstream.
| * CTest: Drop stray content from Configure.xmlDaniel Pfeifer2015-05-261-5/+0
| | | | | | | | | | Remove content left accidentally since commit v2.4.0~2876 (some bug fixes for my recent checkins and some more cleanup, 2004-09-07).
* | Merge topic 'ctest-update-gmake-error-match'Brad King2015-05-281-2/+2
|\ \ | | | | | | | | | | | | 44a4e545 ctest_build: Fix regression in GNU make error message matching
| * | ctest_build: Fix regression in GNU make error message matchingZack Galbreath2015-05-271-2/+2
| | | | | | | | | | | | | | | | | | | | | The regex update in commit v3.1.2~4^2 (ctest_build: Update GNU make error message matching, 2015-01-28) broke matching of the messages it updated. Remove the escape character before the square brackets added by that commit.
* | | cmGlobalGenerator: Require a cmake instance in ctor.Stephen Kelly2015-05-273-6/+3
| |/ |/| | | | | It is required anyway, so this makes it explicit.
* | Merge topic 'refactor-cmLocalGenerator'Brad King2015-05-194-0/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | fa9eb814 cmLocalGenerator: Remove redundant path access. 1933f3d1 cmLocalGenerator: Remove redundant path conversions. 9e4b6cc2 cmState: Store computed relative paths to to current directories. 991f5e49 cmState::Snapshot: Store components for current directories. 57bdc1a2 cmState: Compute and store directory components.
| * | cmState: Compute and store directory components.Stephen Kelly2015-05-164-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no need to duplicate these in all cmLocalGenerators. Rename the symbols according to current conventions. Add explicit calls to Set{Source,Binary}Directory with empty strings in order to trigger the population of the components containers with the current working directory in cmLocalGenerator. Having directories set to empty is a special case in CMake, which is relied on for the `if(CMAKE_BINARY_DIR)` condition at the end of CMakeDetermineSystem.cmake.
* | | cmGlobalGenerator: Add NVI wrapper to create local generator.Stephen Kelly2015-05-163-3/+3
|/ /
* | CTest: Stop telling 'make' to ignore errors with -iBrad King2015-05-121-1/+2
| | | | | | | | Add policy CMP0061 to maintain compatibility for existing projects.
* | Merge topic 'clean-up-cmMakefile'Brad King2015-04-211-3/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8dc3a67c cmMakefile: Out-of-line the directory methods. 0f3c8cfa cmMakefile: Use method abstraction to access directories. b288a997 cmMakefile: Rename SetStart* directory API to SetCurrent*. 932d53bc cmMakefile: Remove redundant method duplication. 32b8f03a cmMakefile: Port users of GetStart* methods to new names. 54d6a918 cmMakefile: Rename GetCurrent{Output,Binary}Directory. 55d80d0a cmMakefile: Rename GetCurrent{,Source}Directory. b23cf06f cmake: Remove redundant start directories. fcf246ac cmMakefile: Populate Home directories on initialize. 8878bea7 cmake: Initialize Home directories on cmake for find-package mode. 044dc815 Use the Home directories from the cmake class where intended. d67e8f24 cmake: Fix directory used to find the cache 1ea085d1 cmMakefile: Initialize dir definitions early. f034bb2f Remove redundant calls to MakeStartDirectoriesCurrent. 3a68c323 cmMakefile: Fix wrong parameter names.
| * | cmMakefile: Rename SetStart* directory API to SetCurrent*.Stephen Kelly2015-04-201-2/+2
| | |
| * | cmMakefile: Rename GetCurrent{,Source}Directory.Stephen Kelly2015-04-201-1/+1
| | | | | | | | | | | | Match the names used in cmake code.
* | | cmSystemTools: Teach RunSingleCommand to separate stdout and stderrBrad King2015-04-202-5/+9
|/ / | | | | | | | | | | | | Extend the RunSingleCommand signature to capture stdout and stderr separately. Allow both to be captured to the same std::string to preserve existing behavior. Update all call sites to do this so that this refactoring does not introduce functional changes.
* | cmMakefile: Remove always-null first parameter to ReadListFile.Stephen Kelly2015-04-183-4/+4
| |
* | cmMakefile: Add wrapper for reading listfiles which have an origin.Stephen Kelly2015-04-181-6/+2
| | | | | | | | | | | | Such files are delegates from other files, and so they set the CMAKE_PARENT_LIST_FILE to the originator. They also may set a policy scope.
* | Port Global property interaction to cmState.Stephen Kelly2015-04-151-1/+2
| |
* | cmake: Remove the happy global property scope pattern.Stephen Kelly2015-04-151-1/+1
| | | | | | | | | | | | | | | | | | Global properties are already global in scope, so remove the overload for specifying it and port users of the API. The call from cmMakefile::GetProperty can be simplified because the scope is only used during chaining, and there is no further chaining after processing global properties.
* | Port cmCommand consumers to cmState.Stephen Kelly2015-04-152-6/+6
| |
* | CTest: Fix locale used for VCS updatesNils Gladitz2015-04-131-41/+2
| | | | | | | | | | | | | | | | 6a661f06030b85b4484733375bbb0aa23eca7446 fixed the locale used for message output but at the same time broke the locale used for filename encodings. This commit preserves LC_CTYPE in the presence of LC_ALL.
* | Add API for cache loading, deleting and saving to the cmake class.Stephen Kelly2015-04-071-2/+1
| | | | | | | | | | Migrate existing users of the CacheManager API to use the new API. The CacheManager will be going away soon.
* | Revert topic 'refactor-cache-api'Brad King2015-04-071-1/+2
| | | | | | | | | | | | This topic was never tested without some follow-up commits. The GetCacheEntryValue API returns a pointer to memory freed on return. It will have to be revised along with the rest of the original topic.
* | Add API for cache loading, deleting and saving to the cmake class.Stephen Kelly2015-04-061-2/+1
| | | | | | | | | | Migrate existing users of the CacheManager API to use the new API. The CacheManager will be going away soon.
* | Merge topic 'ctest-repeat-until-fail'Brad King2015-03-233-8/+87
|\ \ | | | | | | | | | | | | | | | 6bce0276 Help: Add notes for topic 'ctest-repeat-until-fail' fde70a1b ctest: Add a new --repeat-until-fail option
| * | ctest: Add a new --repeat-until-fail optionBill Hoffman2015-03-233-8/+87
| | | | | | | | | | | | | | | This option tells ctest to run each test N times until the test fails or the N times have run. This is useful for finding random failing tests.
* | | CTest: Output test-specific env vars in verbose mode (#15446)Zach Mullen2015-03-171-0/+15
| | | | | | | | | | | | | | | | | | Any environment vars that were configured for a test via the ENVIRONMENT property will now be output when the test is run with verbose logging enabled.
* | | Merge topic 'cmAlgorithms-cleanup'Brad King2015-03-121-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 95dd238f cmRemoveDuplicates: Fix iterator -> const_iterator. 4448f175 cmInstalledFile: Move Property implementation out of line. 7916d7ba Include cmAlgorithms where it is used.
| * | | Include cmAlgorithms where it is used.Stephen Kelly2015-03-101-0/+1
| |/ /
* | | CTest: Fix Jacoco CoverageJoseph Snyder2015-03-061-1/+4
|/ / | | | | | | | | | | | | | | | | Rename the example jacoco.xml file to be jacoco.xml.in to stop CMake from apptempting to calculate Jacoco Coverage when running over itself. Enclose a push of -1 to the coverage vector to only happen if there is a fin to calculate for. This prevents a crash if the target file doesn't exist.
* | Merge topic 'fix-ctest-update-locale'Brad King2015-03-021-12/+12
|\ \ | | | | | | | | | | | | 6a661f06 CTest: To enforce the C locale use LC_ALL instead of LC_MESSAGES.
| * | CTest: To enforce the C locale use LC_ALL instead of LC_MESSAGES.Nils Gladitz2015-02-271-12/+12
| | | | | | | | | | | | If LC_ALL is set it takes precedence over LC_MESSAGES.
* | | Merge topic 'remove_error_read_script'Brad King2015-02-271-5/+1
|\ \ \ | | | | | | | | | | | | | | | | 6bf13097 CTest: Drop "Error in read script" message at end of testing
| * | | CTest: Drop "Error in read script" message at end of testingZack Galbreath2015-02-271-5/+1
| |/ / | | | | | | | | | | | | | | | | | | A more-specific error message is always displayed earlier in the output if any real error occurred. This final summary message is distracting to readers searching through the output for the word "error". Simply drop it.
* | | cmake: Teach --build to honor CMAKE_VERBOSE_MAKEFILE for NinjaGregor Jasny2015-02-261-1/+1
|/ / | | | | | | | | | | | | | | | | The Ninja build system does not support a in-file verbositiy switch. Instead teach 'cmake --build' to extract the CMAKE_VERBOSE_MAKEFILE setting and pass it as an optional '-v' argument to Ninja. This can serve as a reasonable fallback. Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
* | Merge topic 'ctest-output-options'Brad King2015-02-2431-529/+652
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ff1ddd2a ctest_upload: Add QUIET option 0b87b2a3 ctest_memcheck: Add QUIET option fc58bdb9 ctest_coverage: Add QUIET option 876a680d ctest_test: Add QUIET option 49ba4545 ctest_build: Add QUIET option f999dc0b ctest_configure: Add QUIET option 645ad117 ctest_update: Add QUIET option 19d1a559 ctest_start: Add QUIET option 1643b905 ctest_submit: Add QUIET option 12db1139 CTest: Add cmCTestOptionalLog macro
| * | ctest_upload: Add QUIET optionZack Galbreath2015-02-232-2/+9
| | |
| * | ctest_memcheck: Add QUIET optionZack Galbreath2015-02-233-47/+58
| | |
| * | ctest_coverage: Add QUIET optionZack Galbreath2015-02-238-211/+228
| | |
| * | ctest_test: Add QUIET optionZack Galbreath2015-02-234-50/+65
| | |
| * | ctest_build: Add QUIET optionZack Galbreath2015-02-232-40/+51
| | |
| * | ctest_configure: Add QUIET optionZack Galbreath2015-02-232-8/+10
| | |