| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
When commands fail, there is no line number to report; still initialize
it explicitly to avoid compiler warnings.
Issue: #21166
|
| |
|
|
|
|
| |
Fix launcher behavior for international characters in the path on Windows.
|
|
|
|
| |
Fixes: #19545
|
|
|
|
|
| |
This refactor will allow us to more easily add additional warnings and errors
to builds that use launchers.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
#pragma once is a widely supported compiler pragma, even though it is
not part of the C++ standard. Many of the issues keeping #pragma once
from being standardized (distributed filesystems, build farms, hard
links, etc.) do not apply to CMake - it is easy to build CMake on a
single machine. CMake also does not install any header files which can
be consumed by other projects (though cmCPluginAPI.h has been
deliberately omitted from this conversion in case anyone is still using
it.) Finally, #pragma once has been required to build CMake since at
least August 2017 (7f29bbe6 enabled server mode unconditionally, which
had been using #pragma once since September 2016 (b13d3e0d)). The fact
that we now require C++11 filters out old compilers, and it is unlikely
that there is a compiler which supports C++11 but does not support
#pragma once.
|
| |
|
|
|
|
| |
Fixes: #21004
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
825b04c67a cmCTest: Members accept std::string parameters
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5064
|
| | |
|
|/
|
|
| |
Issue: #21004
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
b36d1bdd9d Single location for cmProp typedef
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4829
|
| | |
|
|/
|
|
| |
This implements a TODO in gcov file handling.
|
|\ |
|
| |
| |
| |
| | |
Issue: #20543
|
| | |
|
| |
| |
| |
| | |
Fixes: #20666
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
8d4a9ee398 Refactoring: rename "cm_static_string_view.hxx" as <cmext/string_view>
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4689
|
| | | |
|
|/ /
| |
| |
| | |
Newer IWYU is not seeing them as needed for `size_t`.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
e89aeba5c4 ctest: add option --stop-on-failure
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4630
|
| | |
| | |
| | |
| | |
| | |
| | | |
To stop the tests once one has failed
Fixes: #16628
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|/ / |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
c84cf42897 cmState::GetGlobalProperty: return cmProp
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4521
|
| | | |
|
|\ \ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | | |
This should avoid the runtime strlen() call.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Modify the original string instead of creating a new copy with substr() when it
is not used for anything else afterwards.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | | |
|
| | | |
|
| |/
|/|
| |
| | |
While at it avoid creating a new string.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
f964739ead cmCTestRunTest: modernize memory management
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4454
|