summaryrefslogtreecommitdiffstats
path: root/Source/CTest
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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.
* | Merge topic 'ctest_memcheck-no-empty-BC-output'Brad King2014-12-171-0/+4
|\ \ | | | | | | | | | | | | 1c812979 ctest_memcheck: Do not open empty BC output file name
| * | ctest_memcheck: Do not open empty BC output file nameBrad King2014-12-161-0/+4
| | | | | | | | | | | | | | | | | | In cmCTestMemCheckHandler::PostProcessBoundsCheckerTest return early if the output file name is empty. We already do this in the similar cmCTestMemCheckHandler::AppendMemTesterOutput method.
* | | CTest: Remove code to fix scanbuild errorsJoseph Snyder2014-12-152-4/+0
|/ / | | | | | | | | | | Remove code from cmParseBlanketJSCoverage.cxx and cmParseDelphiCoverage.cxx which caused scanbuild errors about not reading the value that was stored.
* | ctest: count errors from scripts properlyBen Boeckel2014-12-101-1/+1
| | | | | | | | | | | | | | In the unlikely event that someone has a billion+ scripts (or some codepath returns negative numbers), we could overflow and make a pile of errors a non-error. This change also allows us to use flags for the error in the future rather than just "something went wrong".
* | ctest --launch: write to cout and cerr in binaryBen Boeckel2014-12-051-0/+13
| | | | | | | | | | | | Because ctest reads in binary but writes in text mode, Windows' newline transformation can be applied multiple times causing '\n' in the source application to be written out as '\r\r\n' instead.
* | Remove some unneeded c_str calls.Stephen Kelly2014-11-236-16/+16
| |
* | CTest: Add Javascript coverage parserJoseph Snyder2014-10-294-0/+257
| | | | | | | | | | | | | | Add a coverage parser for the Blanket.js library using the JSON output of the mocha.js test runner. Add a test for the new parser.
* | Merge topic 'remove-borland-build'Brad King2014-10-211-3/+0
|\ \ | | | | | | | | | | | | 2db55ffa Remove borland workarounds.
| * | Remove borland workarounds.Stephen Kelly2014-10-151-3/+0
| |/ | | | | | | | | CMake 3.0 is the last release to require to be able to build with Borland.
* | Merge topic 'remove-redundant-c_str'Brad King2014-10-2116-99/+99
|\ \ | | | | | | | | | | | | cc1139cc strings: Remove redundant calls to std::string::c_str()
| * | strings: Remove redundant calls to std::string::c_str()Nils Gladitz2014-10-1516-99/+99
| |/ | | | | | | | | Replacements were detected and performed by the clang tool remove-cstr-calls on a linux build.
* | Merge topic 'ctest-delphi-coverage'Brad King2014-10-214-0/+338
|\ \ | |/ |/| | | | | 5c31c3e4 CTest: Add code coverage parser for Pascal/Delphi
| * CTest: Add code coverage parser for Pascal/DelphiJoseph Snyder2014-10-214-0/+338
| | | | | | | | | | | | | | | | Add a class to parse the HTML output of the Delphi-code-coverage tool http://code.google.com/p/delphi-code-coverage/ Add a test for the new parser.
* | Merge topic 'ctest-memcheck-sanitizers'Brad King2014-10-082-18/+65
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e0e75a72 Help: Add notes for topic 'ctest-memcheck-sanitizers' 7345a1f7 tests: Add a test for ctest_memcheck MemorySanitizer 0c6330da ctest_memcheck: Add support for MemorySanitizer msan 9ba8bf12 tests: add a test for ctest_memcheck UndefinedBehaviorSanitizer 816c100a ctest_memcheck: Add support for UndefinedBehaviorSanitizer ubsan b67ef537 ctest_memcheck: Order sanitizer type code consistently f48a2968 Tests: Organize CTestTestMemcheck inner test code
| * | ctest_memcheck: Add support for MemorySanitizer msanBill Hoffman2014-10-072-0/+23
| | |
| * | ctest_memcheck: Add support for UndefinedBehaviorSanitizer ubsanBen Boeckel2014-10-072-2/+24
| | | | | | | | | | | | | | | UBSan instruments a build and logs messages on any undefined behavior instances.
| * | ctest_memcheck: Order sanitizer type code consistentlyBrad King2014-10-072-24/+26
| | | | | | | | | | | | Use alphabetic order everywhere we enumerate the sanitizer types.
* | | Merge topic 'ctest-memcheck-sanitizers'Brad King2014-10-073-6/+14
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | f25e431d tests: set sanitizer options properly f0661bf3 tests: fix copy/paste from tsan -> asan comments ca9cc25c ctest: add support for additional sanitizer options 0b9ffffc ctest: update documentation for CTEST_MEMORYCHECK_TYPE
| * | ctest: add support for additional sanitizer optionsBen Boeckel2014-10-032-5/+13
| | | | | | | | | | | | | | | Sanitizers receive options through their environment variable; support user-specified options here.