summaryrefslogtreecommitdiffstats
path: root/Source/CTest
Commit message (Collapse)AuthorAgeFilesLines
* clang-tidy: apply misc-redundant-expression fixesDaniel Pfeifer2016-12-121-3/+2
|
* clang-tidy: apply readability-static-definition-in-anonymous-namespace fixesDaniel Pfeifer2016-12-121-4/+4
|
* clang-tidy: apply modernize-use-bool-literals fixesDaniel Pfeifer2016-12-122-3/+3
|
* clang-tidy: apply readability-redundant-string-init fixesDaniel Pfeifer2016-12-125-13/+13
|
* cmCTestTestHandler: use multimapDaniel Pfeifer2016-12-031-27/+20
|
* Windows: Use UTF-8 for pipes in CMake, CTest and CPackDāvis Mosāns2016-11-291-1/+1
| | | | | Applications which process CMake output will need to decode it as UTF-8 instead of console's codepage.
* iwyu: Fix more findingsDaniel Pfeifer2016-11-2811-61/+70
|
* Merge topic 'improve_ctest_memcheck_output'Brad King2016-11-171-10/+22
|\ | | | | | | | | f0d50957 ctest: Improve output for `-T memcheck`
| * ctest: Improve output for `-T memcheck`Bill Hoffman2016-11-171-10/+22
| | | | | | | | | | Show how many defects each test that had a defect produced. Also tell the user where to find the full log files.
* | CTest: Use UTF-8 encoding for output from GitDāvis Mosāns2016-11-151-6/+11
| |
* | Add Encoding option for RunChild, RunMakeCommand and RunProcessDāvis Mosāns2016-11-144-9/+15
| |
* | Windows: Encode child process output to internally-used encodingDāvis Mosāns2016-11-144-8/+57
| | | | | | | | | | | | Typically Windows applications (eg. MSVC compiler) use current console's codepage for output to pipes so we need to encode that to our internally-used encoding (`KWSYS_ENCODING_DEFAULT_CODEPAGE`).
* | cmCTestBuildHandler: Use size_t in ProcessBuffer length argumentBrad King2016-11-142-2/+2
|/
* Merge topic 'cdash_version_check'Brad King2016-11-113-21/+4
|\ | | | | | | | | | | d3633731 Do not query CDash for version f725b20b Update tests that expect uncompressed output
| * Do not query CDash for versionZack Galbreath2016-11-083-21/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This check was not functioning properly for the following reasons: * The "DropSite" and "DropLocation" CTest Configurations do not get set until ctest_submit() is called. So if ctest_submit() was not called before ctest_test() we would end up with uncompressed output, even if the CDash server was new enough to support this feature. * CDash's API is now versioned. The current location to query is now /api/v1/getversion.php, not /api/getversion.php. As a result of these issues, CTest would not compress test/memcheck output when it should. Rather than fix this check, we now assume that CTest is communicating with a new enough version of CDash. This behavior can be controlled through the use of the --no-compress-output command-line argument.
* | Merge topic 'ctest_memcheck_defect_count'Brad King2016-11-116-3/+50
|\ \ | | | | | | | | | | | | 3a523eec ctest_memcheck: Add DEFECT_COUNT option to capture defect count
| * | ctest_memcheck: Add DEFECT_COUNT option to capture defect countBetsy McPhail2016-11-096-3/+50
| | |
* | | Merge topic 'import-librhash'Brad King2016-11-101-9/+6
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd8a57ae Add option to build CMake against a system librhash 71180fc8 FindLibRHash: Add module to find the librhash package 3216e94c Remove unused cm_sha2 infrastructure 5420278d Port hash computation to cmCryptoHash 9a596b33 cmCryptoHash: Re-implement in terms of librhash 47f91a61 cmCryptoHash: Avoid using subclasses at client sites d0ff3e70 librhash: Port to KWIML for ABI and integer type information 465a85fb librhash: Avoid signed left-shift overflow fc2cb74f librhash: Implement bswap_32 as a function even in strict C90 mode 0bd333bc librhash: Implement bswap_64 even in strict C90 mode 7189d62c librhash: Use __builtin_bswap{32,64} on Clang af7ebf8a librhash: Install COPYING file with CMake documentation bb01f20e librhash: Disable warnings to avoid changing 3rd party code 31bb727f librhash: Build the library within CMake 53048afa librhash: Remove source fragments not needed for CMake 5cb1b345 Merge branch 'upstream-librhash' into import-librhash ...
| * | Port hash computation to cmCryptoHashBrad King2016-11-101-9/+6
| |/ | | | | | | | | Avoid using KWSys MD5 or `cm_sha2` and use the `cmCryptoHash` abstraction instead.
* | Merge topic 'include-what-you-use'Brad King2016-11-081-0/+1
|\ \ | | | | | | | | | | | | 2e620f0b Fix several include-what-you-use findings
| * | Fix several include-what-you-use findingsDaniel Pfeifer2016-11-081-0/+1
| |/
* | cmCTestSubmitHandler: Remove redundant c_str()Daniel Pfeifer2016-11-051-1/+1
|/
* Remove cmObject.h and cmTypeMacro.hDaniel Pfeifer2016-10-2425-25/+0
|
* Make cmCTestGenericHandler not inherit from cmObjectDaniel Pfeifer2016-10-2211-12/+12
|
* Make cmCommand not inherit from cmObjectDaniel Pfeifer2016-10-2216-35/+3
|
* cmListFileCache: Remove cmState header includeStephen Kelly2016-10-193-0/+3
| | | | | Include it in dependents which have previously relied on it transitively.
* cmState: Port dependents to new cmStateTypes headerStephen Kelly2016-10-194-4/+4
|
* cmState: Port dependent code to new cmStateSnapshot nameStephen Kelly2016-10-191-1/+1
|
* Merge topic 'timeout_after_match_testtime'Brad King2016-10-181-0/+1
|\ | | | | | | | | 909842ff CTest: report time spent after matching output
| * CTest: report time spent after matching outputZack Galbreath2016-10-171-0/+1
| | | | | | | | | | When using the TIMEOUT_AFTER_MATCH test property, only report the time spent by the test after the matching output was found.
* | ctest_configure: Propagate CTEST_USE_LAUNCHERS from caller to projectBill Hoffman2016-10-171-0/+4
|/ | | | | | | | If `CTEST_USE_LAUNCHERS` is `TRUE` in a CTest script then the `ctest_configure` command will add `-DCTEST_USE_LAUNCHERS:BOOL=TRUE` to the cmake command used to configure the project. This allows a project to only set `CTEST_USE_LAUNCHERS` in a ctest script and have launchers work.
* Do not define cout/cerr preprocessor symbolsBrad King2016-10-041-4/+0
| | | | | | Apply the change from commit bd3d0eaf (cmCTest: don't redefine cout and cerr, 2016-09-01) to the rest of ctest and cpack. These definitions are no longer needed because our conventions are well established.
* Simplify CMake per-source license noticesBrad King2016-09-2788-996/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* Merge topic 'test-fixtures'Brad King2016-09-225-2/+233
|\ | | | | | | | | 73f47c9e CTest: Add support for test fixtures
| * CTest: Add support for test fixturesCraig Scott2016-09-205-2/+233
| | | | | | | | | | | | | | | | | | | | | | Add new test properties: * FIXTURES_SETUP * FIXTURES_CLEANUP * FIXTURES_REQUIRED to specify the roles and dependencies of tests providing/using test fixtures.
* | Merge topic 'ctest-capture-error'Brad King2016-09-215-6/+119
|\ \ | |/ |/| | | | | | | | | adf1e32f Help: Add notes for topic 'ctest-capture-error' d328dc68 CTest: Add CAPTURE_CMAKE_ERROR val to `ctest_*` commands 9ac2e189 ctest_coverage: If gcov is not found just warn, not error
| * CTest: Add CAPTURE_CMAKE_ERROR val to `ctest_*` commandsBill Hoffman2016-09-204-4/+118
| | | | | | | | | | | | | | If a `ctest_*` command has CAPTURE_CMAKE_ERROR then any errors generated by cmake during that command will cause the value to be assigned `-1`. This will prevent a `ctest -S` script from returning non-zero unless the script explicitly calls `message(FATAL_ERROR)`.
| * ctest_coverage: If gcov is not found just warn, not errorBill Hoffman2016-09-201-2/+1
| |
* | CTestSVN: Fix segfault when CTEST_UPDATE_VERSION_ONLY is enabledNils Gladitz2016-09-122-9/+10
|/ | | | | | | | | Before the change the list of externals was queried only before the svn update. With the change the list is queried both before and after. This should also be more accurate since the list of externals might change during the update.
* surround macro arguments with parenthesesDaniel Pfeifer2016-09-051-2/+2
|
* CTest: fix include-what-you-use violationsDaniel Pfeifer2016-08-2593-177/+642
|
* fix a batch of include-what-you-use violationsDaniel Pfeifer2016-08-232-0/+5
|
* CTest: don't use else after returnDaniel Pfeifer2016-08-1814-81/+66
|
* Make sure unnused parameters are /*named*/Daniel Pfeifer2016-08-1617-39/+42
|
* Use better KWSys SystemTools::GetEnv and HasEnv signaturesDāvis Mosāns2016-07-183-24/+26
|
* Avoid using KWSys auto_ptr by adopting it ourselvesBrad King2016-06-293-5/+5
| | | | | | | | | | | | Replace use of cmsys::auto_ptr with a CM_AUTO_PTR macro that maps to our own implementation adopted from the KWSys auto_ptr implementation. Later we may be able to map CM_AUTO_PTR to std::auto_ptr on compilers that do not warn about it. Automate the client site conversions: git grep -l auto_ptr -- Source/ | grep -v Source/kwsys/ | xargs sed -i \ 's|cmsys::auto_ptr|CM_AUTO_PTR|;s|cmsys/auto_ptr.hxx|cm_auto_ptr.hxx|'
* use CM_NULLPTRDaniel Pfeifer2016-06-2833-146/+160
|
* mark functions with CM_OVERRIDEDaniel Pfeifer2016-06-2742-139/+140
|
* Add CM_OVERRIDE to some functionsDaniel Pfeifer2016-06-2712-65/+65
| | | | | | | Run clang-tidy's modernize-use-override checker. This checker must have issues in version 3.8. It has way too little matches. And it adds override to destructors. Revert the changes on the destructors and change override to CM_OVERRIDE.
* Prefer istringstream and ostringstream over stringstream.Daniel Pfeifer2016-06-141-1/+1
| | | | Use istringsream for parsing, ostringstream for generation.