summaryrefslogtreecommitdiffstats
path: root/Source/CTest
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Replace 'foo.size() != 0' pattern with !foo.empty().Stephen Kelly2015-01-182-3/+3
| |
* | Replace 'foo.size() == 0' pattern with foo.empty().Stephen Kelly2015-01-1812-30/+30
| |
* | Replace 'foo.size() > 0' pattern with !foo.empty().Stephen Kelly2015-01-189-32/+32
| |
* | Merge topic 'fix-ctest_build-output-processing-regression'Brad King2015-01-161-1/+1
|\ \ | | | | | | | | | | | | 509f2713 ctest_build: Fix logic regression in parent that clips build output
| * | ctest_build: Fix logic regression in parent that clips build outputBrad King2015-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sweeping pattern change in commit 238dd2fb (Use insert instead of a loop in some cases, 2014-11-22) accidentally changed the iterator range used on the queue in cmCTestBuildHandler::ProcessBuffer. Instead of ending at the iterator positioned at the next newline to populate CurrentProcessingLine, it was changed to go to the end of the queue. This causes the line to contain newlines and possibly be cut off in the middle of a line. Fix this regression by restoring use of the proper end-of-line position.
* | | Merge topic 'improve_cobertura'Brad King2015-01-121-9/+39
|\ \ \ | | | | | | | | | | | | | | | | ab74553d ctest_coverage: Fix parsing of absolute paths in Cobertura files
| * | | ctest_coverage: Fix parsing of absolute paths in Cobertura filesZack Galbreath2015-01-121-9/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes a segmentation fault I encountered when my Coverage.xml referenced a system file, eg /usr/lib/python/foo.py. Similar to other CMake coverage parsers, this one now ignores any files it finds that are not located within this project's source or binary directories.
* | | | Merge topic 'drop-ancient-workarounds'Brad King2015-01-1221-44/+36
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0f7bdd61 Remove VS 6 special case. 5e92c826 Remove some obsolete stuff. 15e42bb2 cmStandardIncludes: Remove obsolete cmOStringStream. 931e055d Port all cmOStringStream to std::ostringstream. f194a009 Remove unused cmIStringStream class. 3ec1bb15 cmStandardIncludes: Remove std namespace hack. bb3bce70 cmStandardIncludes: Remove ANSI_FOR_SCOPE hack. 28fa4923 cmStandardIncludes: Remove iostreams workaround for obsolete Compaq compiler. 837a8a63 cmStandardIncludes: Drop Comeau-related workaround. 4030ddfd Remove Borland-related undef. 17d6a6fd cmStandardIncludes: Remove comment about Borland. 26fb5011 Drop SGI as a CMake host compiler.
| * | | | Port all cmOStringStream to std::ostringstream.Stephen Kelly2015-01-1120-36/+36
| | | | | | | | | | | | | | | | | | | | All compilers hosting CMake support the std class.
| * | | | Drop SGI as a CMake host compiler.Stephen Kelly2015-01-081-8/+0
| |/ / / | | | | | | | | | | | | | | | | It has not been tested since commit v3.1.0-rc1~584^2 (Utilities/Release: Drop IRIX binary generation on ferrari, 2014-04-30).
* | | | Use two-iterator std::set::insert where appropriate.Stephen Kelly2015-01-114-36/+9
| |/ / |/| |
* | | Use insert instead of a loop in some cases.Stephen Kelly2015-01-114-29/+9
|/ / | | | | | | | | | | Limit this change to inserting into a vector from a vector. A follow up change can use insert for inserting into a set.
* | Merge topic 'base64-casts'Brad King2015-01-082-5/+4
|\ \ | | | | | | | | | | | | | | | 0bdd4ebf cmCTest: Use size_t for cmsysBase64_Encode return value a9fae8ac CTest: Fix integer overflow when uploading huge files
| * | cmCTest: Use size_t for cmsysBase64_Encode return valueBrad King2014-12-262-5/+4
| | |
* | | cmParseDelphiCoverage: Remove superfluous semicolons after methodsChristoph GrĂ¼ninger2014-12-231-2/+2
| | |
* | | Merge topic 'base64-constref'Brad King2014-12-231-1/+1
|\ \ \ | | | | | | | | | | | | | | | | 82fbf490 cmCTestTestHandler: take reference to temporary string instead of doing a copy
| * | | cmCTestTestHandler: take reference to temporary string instead of doing a copyRolf Eike Beer2014-12-221-1/+1
| |/ / | | | | | | | | | This will increase the lifetime of the temporary until the end of the function.
* | | Merge topic 'cleanup-ExpandListArgument-usage'Brad King2014-12-231-45/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | e2a489c7 Remove some temporary vectors for ExpandListArgument. 0f99feec cmGeneratorExpression: Remove unused header. 722f1a71 CTest: Expand a string directly into a container.
| * | | Remove some temporary vectors for ExpandListArgument.Stephen Kelly2014-12-181-45/+6
| |/ / | | | | | | | | | Expand directly into the target when possible.
* | | ctest_coverage: Fix error message to report the file nameVladislav Vinogradov2014-12-221-1/+1
|/ / | | | | | | | | Print file name instead of line content for "Looks like there are more lines in the file:" error message.