Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge topic 'cmprop' | Brad King | 2020-06-02 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | b36d1bdd9d Single location for cmProp typedef Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4829 | ||||
| * | Single location for cmProp typedef | Vitaly Stakhovsky | 2020-06-01 | 1 | -0/+1 |
| | | |||||
* | | CTest: Handle non-coverage lines in gcov files | Tobias Ellinghaus | 2020-05-29 | 1 | -2/+8 |
|/ | | | | This implements a TODO in gcov file handling. | ||||
* | Merge branch 'backport-ctest-repeat-notrun' into ctest-repeat-notrun | Brad King | 2020-05-27 | 1 | -0/+5 |
|\ | |||||
| * | CTest: Make sure NOT_RUN tests show up in the failed test log | Robert Maynard | 2020-05-27 | 1 | -0/+5 |
| | | | | | | | | Issue: #20543 | ||||
* | | CTest: Log environment variables as a test measurement | Kyle Edwards | 2020-05-19 | 4 | -3/+40 |
| | | |||||
* | | Refactoring: Third-parties public headers are under cm3p prefix | Marc Chevrier | 2020-05-07 | 8 | -18/+16 |
| | | | | | | | | Fixes: #20666 | ||||
* | | Merge topic 'stl-support' | Brad King | 2020-05-01 | 9 | -12/+9 |
|\ \ | | | | | | | | | | | | | | | | | | | 8d4a9ee398 Refactoring: rename "cm_static_string_view.hxx" as <cmext/string_view> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4689 | ||||
| * | | Refactoring: rename "cm_static_string_view.hxx" as <cmext/string_view> | Marc Chevrier | 2020-04-30 | 9 | -12/+9 |
| | | | |||||
* | | | IWYU: mark <cstddef> as needed | Ben Boeckel | 2020-04-29 | 3 | -3/+3 |
|/ / | | | | | | | Newer IWYU is not seeing them as needed for `size_t`. | ||||
* | | Merge topic 'ctest_stop_on_failure_16628' | Brad King | 2020-04-22 | 5 | -1/+21 |
|\ \ | | | | | | | | | | | | | | | | | | | e89aeba5c4 ctest: add option --stop-on-failure Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4630 | ||||
| * | | ctest: add option --stop-on-failure | Johnny Jazeix | 2020-04-20 | 5 | -1/+21 |
| | | | | | | | | | | | | | | | | | | To stop the tests once one has failed Fixes: #16628 | ||||
* | | | Merge topic 'ctest-memcheck-sanitizers' | Craig Scott | 2020-04-19 | 1 | -8/+5 |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | e03d3c08f0 CTest: Fix '-T MemCheck' command-line support for sanitizers 82b6091776 Tests: Fix RunCMake.ctest_memcheck test script syntax errors Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4618 | ||||
| * | | CTest: Fix '-T MemCheck' command-line support for sanitizers | Brad King | 2020-04-17 | 1 | -8/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 49948f7221 (ctest_memcheck: Add support for ThreadSanitizer, 2014-07-07, v3.1.0-rc1~322^2~1) and commit 1e005eadbc (CTest: Fix MemoryCheckType from 'ctest -T MemCheck', 2014-07-15, v3.1.0-rc1~298^2), the `CMakeCommand` internal setting was left set only when using `ctest -S` scripts. Instead simply use CTest's corresponding CMake directly without passing it through an internal setting. Fixes: #20584 | ||||
* | | | Refactoring: add cm::contains to <cmext/algorithm> | Marc Chevrier | 2020-04-17 | 5 | -23/+27 |
|/ / | |||||
* | | cmParseCacheCoverage: use cmSystemTools::SplitString | Ben Boeckel | 2020-04-13 | 2 | -29/+4 |
| | | |||||
* | | nits: replace some "c" instances with 'c' | Ben Boeckel | 2020-04-13 | 2 | -4/+4 |
| | | |||||
* | | clang-tidy: address bugprone-branch-clone lints | Ben Boeckel | 2020-04-13 | 3 | -31/+18 |
| | | | | | | | | | | | | | | | | | | Arguably, many of these are bugs in `clang-tidy`. An if/else tree with other conditionals between cloned blocks may be relying on the intermediate logic to fall out of the case and inverting this logic may be non-trivial. See: https://bugs.llvm.org/show_bug.cgi?id=44165 | ||||
* | | CTest: Add CTEST_RESOURCE_SPEC_FILE variable | Kyle Edwards | 2020-04-02 | 3 | -16/+30 |
| | | |||||
* | | Merge topic 'cmprop-getglobalprop' | Brad King | 2020-03-27 | 1 | -5/+4 |
|\ \ | | | | | | | | | | | | | | | | | | | c84cf42897 cmState::GetGlobalProperty: return cmProp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4521 | ||||
| * | | cmState::GetGlobalProperty: return cmProp | Vitaly Stakhovsky | 2020-03-25 | 1 | -5/+4 |
| | | | |||||
* | | | Merge branch 'backport-ctest-timeout-report' into ctest-timeout-report | Brad King | 2020-03-26 | 2 | -8/+14 |
|\ \ \ | | |/ | |/| | |||||
| * | | CTest: Fix reported duration on timeout when grindchild keeps pipes open | Brad King | 2020-03-26 | 2 | -8/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit d1976cd1f2 (CTest: Fix timeout when grandchild keeps pipes open, 2020-01-13, v3.17.0-rc1~169^2) we no longer hang, but the test duration we report after the timeout is the amount of time the immediate child ran before exiting. Fix the logic to instead report the actual amount of time we spent monitoring the test before the timeout. Fixes: #20509 | ||||
* | | | use _s to construct static string_views at several places | Rolf Eike Beer | 2020-03-24 | 1 | -29/+31 |
| | | | | | | | | | | | | This should avoid the runtime strlen() call. | ||||
* | | | check for a valid URL scheme before starting to do any splitting | Rolf Eike Beer | 2020-03-23 | 1 | -6/+7 |
| | | | |||||
* | | | replace std::string::substr() with operations that do not allocate memory | Rolf Eike Beer | 2020-03-23 | 4 | -5/+11 |
| | | | | | | | | | | | | | | | Modify the original string instead of creating a new copy with substr() when it is not used for anything else afterwards. | ||||
* | | | replace "std::string::find(x) == 0" with cmHasPrefix() | Rolf Eike Beer | 2020-03-23 | 2 | -14/+20 |
| | | | |||||
* | | | replace "substr(0, xx) ==" with cmHasPrefix() | Rolf Eike Beer | 2020-03-23 | 2 | -4/+5 |
| | | | |||||
* | | | CTest: avoid repeated string compares | Rolf Eike Beer | 2020-03-23 | 1 | -52/+27 |
| | | | | | | | | | | | | | | | | | | Only one key can match per iteration, avoid any further compares when one match was already found. While at it entirely avoid that the key and value strings are copied. | ||||
* | | | Mumps coverage: directly pass std::string as argument | Rolf Eike Beer | 2020-03-23 | 6 | -9/+9 |
| | | | |||||
* | | | remove pointless return value from cmCTestTestHandler::CleanTestOutput() | Rolf Eike Beer | 2020-03-23 | 2 | -4/+3 |
| | | | |||||
* | | | PyCoverage: avoid repeated string splitting, especially for uncovered lines | Rolf Eike Beer | 2020-03-23 | 1 | -20/+17 |
| | | | |||||
* | | | use std::string::rfind() instead of open coding it | Rolf Eike Beer | 2020-03-23 | 1 | -12/+8 |
| |/ |/| | | | | | While at it avoid creating a new string. | ||||
* | | Merge topic 'modernize-memory-management' | Brad King | 2020-03-12 | 6 | -60/+100 |
|\ \ | | | | | | | | | | | | | | | | | | | f964739ead cmCTestRunTest: modernize memory management Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4454 | ||||
| * | | cmCTestRunTest: modernize memory management | Marc Chevrier | 2020-03-11 | 6 | -60/+100 |
| | | | |||||
* | | | Merge topic 'ctest-curl-debugfunction' | Brad King | 2020-03-12 | 2 | -2/+2 |
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | 7a1cce210b CTest: Fix our internal CURL_DEBUGFUNCTION to conform to CURL docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4459 | ||||
| * | | CTest: Fix our internal CURL_DEBUGFUNCTION to conform to CURL docs | Betsy McPhail | 2020-03-11 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | The curl debug callback function must return ``0``. Fixes: #20449 | ||||
* | | | Source: use std::string overloads | Vitaly Stakhovsky | 2020-03-10 | 2 | -2/+2 |
| |/ |/| | |||||
* | | Modernize memory management | Marc Chevrier | 2020-03-08 | 4 | -68/+41 |
|/ | | | | Update internals of various classes. | ||||
* | CTest: Provide more detailed information on resource allocation error | Kyle Edwards | 2020-02-24 | 3 | -1/+35 |
| | |||||
* | Refactor: Provide more detailed error information from TryAllocateResources() | Kyle Edwards | 2020-02-24 | 2 | -16/+37 |
| | |||||
* | CTest: Improve error reporting with bad working directory for tests | Kyle Edwards | 2020-02-24 | 2 | -2/+2 |
| | |||||
* | Refactor: Require detail when calling cmCTestRunTest::StartFailure() | Kyle Edwards | 2020-02-24 | 3 | -8/+11 |
| | |||||
* | Add --no-tests=<[error|ignore]> option to CTest | Stefan Dinkelacker | 2020-01-31 | 1 | -1/+12 |
| | | | | | | | | | If no tests were found, the default behavior of CTest is to always log an error message but to return an error code in script mode only. This option unifies the behavior of CTest by either returning an error code if no tests were found or by ignoring it. Signed-off-by: Stefan Dinkelacker <s.dinkelacker@dkfz-heidelberg.de> | ||||
* | CTest: Fix timeout when grandchild keeps pipes open | Brad King | 2020-01-14 | 1 | -3/+0 |
| | | | | | | | | | | | When a test's process creates its own child and exits, the grandchild may keep pipes open. Fix CTest logic to correctly timeout if the grandchild does not exit and close the pipes before the timeout expires. This was broken by commit b5e21d7d2e (CTest: Re-implement test process handling using libuv, 2017-12-10, v3.11.0-rc1~117^2) which added an unnecessary condition to the timeout handling. Fixes: #20116 | ||||
* | Refactoring: suppress cmEraseIf in favor of cm::erase_if | Marc Chevrier | 2020-01-09 | 2 | -5/+6 |
| | |||||
* | GlobalGenerator family: modernize memory management | Marc Chevrier | 2020-01-07 | 4 | -18/+10 |
| | |||||
* | Merge topic 'ctest-resource-allocation-spec-message' | Craig Scott | 2019-12-29 | 3 | -23/+81 |
|\ | | | | | | | | | | | | | b393b32b4b CTest: Improve error handling when reading resource spec file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4162 | ||||
| * | CTest: Improve error handling when reading resource spec file | Kyle Edwards | 2019-12-27 | 3 | -23/+81 |
| | | | | | | | | Fixes: #20079 | ||||
* | | Refactoring: use append functions from cmext/algorithm | Marc Chevrier | 2019-12-17 | 10 | -31/+43 |
| | |