summaryrefslogtreecommitdiffstats
path: root/Source/CTest
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * ctest_update: Add QUIET optionZack Galbreath2015-02-232-39/+44
| |
| * ctest_start: Add QUIET optionZack Galbreath2015-02-232-6/+27
| | | | | | | | | | This suppresses all non-error messages that would have otherwise been printed by this function.
| * ctest_submit: Add QUIET optionZack Galbreath2015-02-236-126/+160
| | | | | | | | | | Specifying this option prevents CTest from printing any non-error messages to the console for this call to ctest_submit().
* | CTest: Use clear instead of erase-all.Stephen Kelly2015-02-171-2/+1
| |
* | Split cmAlgorithms into a separate header file.Stephen Kelly2015-02-101-0/+1
|/
* Merge topic 'cmStandardIncludes-cleanup'Brad King2015-02-104-0/+7
|\ | | | | | | | | | | | | af65da0a cmStandardIncludes: Remove list include. e848cc50 cmStandardIncludes: Remove deque include. 5fea6898 cmStandardIncludes: Remove some VS6 workarounds.
| * cmStandardIncludes: Remove list include.Stephen Kelly2015-02-063-0/+5
| | | | | | | | Include it only where used.
| * cmStandardIncludes: Remove deque include.Stephen Kelly2015-02-061-0/+2
| | | | | | | | Include it only where used.
* | Remove use of cmsys_stl.Stephen Kelly2015-02-051-2/+2
|/ | | | It is not needed.
* Merge topic 'ctest_submmit-CDASH_UPLOAD-encode-url'Brad King2015-01-303-15/+31
|\ | | | | | | | | 18e3771a ctest_submit: Escape URL components in CDASH_UPLOAD mode
| * ctest_submit: Escape URL components in CDASH_UPLOAD modeBill Hoffman2015-01-303-15/+31
| | | | | | | | Call curl_easy_escape on arguments sent to CDash upload.
* | Merge topic 'ctest-update-gmake-error-match'Brad King2015-01-291-2/+2
|\ \ | |/ |/| | | | | d52b5f88 ctest_build: Update GNU make error message matching (#15379)
| * ctest_build: Update GNU make error message matching (#15379)Marco Nolden2015-01-281-2/+2
| | | | | | | | | | | | | | The "No rule to make target" error message of gmake is not correctly recognized since GNU make changed the quoting style in commit 23c2b99e9d (Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines, 2012-03-04). Fix our regex to match both old and new quoting styles.
* | cmake: Use a default CA path when not using system curlBrad King2015-01-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using system curl, we trust it to be configured with desired CA certs. When using our own build of curl, we use os-configured CA certs on Windows and OS X. On other systems, try to achieve this by searching for common CA cert locations. According to a brief investigation, the curl packages on popular Linux distros are currently configured as: * Arch: /etc/ssl/certs/ca-certificates.crt * Debian with OpenSSL: /etc/ssl/certs * Debian with GNU TLS: /etc/ssl/certs/ca-certificates.crt * Debian with NSS: /etc/ssl/certs/ca-certificates.crt * Fedora: /etc/pki/tls/certs/ca-bundle.crt * Gentoo with OpenSSL: /etc/ssl/certs * Gentoo without OpenSSL: /etc/ssl/certs/ca-certificates.crt Teach CMake and CTest to look for these paths and use them as a CA path or bundle when no other os-configured or user-specified CAs are available.
* | ctest_submit: Make CDASH_UPLOAD mode arguments more strictBrad King2015-01-203-40/+68
| | | | | | | | | | Disallow mixing of arguments from different command signatures. Extend the RunCMake.CTestSubmit test to cover such error cases.
* | ctest_submit: Add CDASH_UPLOAD mode to upload files to CDashBill Hoffman2015-01-206-3/+523
| | | | | | | | | | | | This adds support for the new cdash API where arbitrary files can be uploaded to the CDash server. This CDash API communicates via json files so the json parser jsoncpp was added to the Utilities directory.
* | Replace foo.size() pattern with !foo.empty().Stephen Kelly2015-01-1813-42/+42
| |
* | Replace !foo.size() pattern with foo.empty().Stephen Kelly2015-01-183-9/+9
| |