Brad King
f6b8bd41bc
Merge topic 'cdash_checksum_400'
...
b7c871f745 ctest: Update ctest_submit for CDash behavior change
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8648
2023-07-25 11:03:06 -04:00
Zack Galbreath
b7c871f745
ctest: Update ctest_submit for CDash behavior change
...
open.cdash.org was recently upgraded in preparation for the release of
CDash v3.2.0. This upgrade brought a change in behavior where CDash now
responds with HTTP 400 (bad request) rather than HTTP 200 (OK) for MD5
checksum mismatches during submission time.
This commit removes our usage of CURLOPT_FAILONERROR in
cmCTestSubmitHandler.cxx This was necessary to pass along the contents
of the request body ("md5 mismatch") in cases where the web server
(CDash) responds with an error status (400).
Fixes : #25121
2023-07-25 09:09:56 -04:00
Marc Chevrier
e08ba229ee
CMake code rely on cmList class for CMake lists management (part. 1)
2023-04-24 10:41:10 +02:00
Brad King
1cd38de47f
ctest: Drop unnecessary use of deprecated CURLOPT_PUT
...
All usage sites are already preceded by use of its replacement,
CURLOPT_UPLOAD.
2023-01-27 15:43:29 -05:00
Vitaly Stakhovsky
b3edfcf46e
cmValue: Use operator* explicitly to convert to std::string; avoid extra call
2023-01-15 23:39:02 -05:00
Ben Boeckel
6ff03d463f
clang-tidy: address google-readability-casting lints
...
At least those involving `static_cast`.
2022-05-24 09:09:43 -04:00
Ben Boeckel
9409e5c04f
clang-tidy: address readability-container-data-pointer lints
2022-05-24 09:09:43 -04:00
Ben Boeckel
97220f5b3f
cmCTestSubmitHandler: avoid double fetching envvars
...
Technically, they can change between these two calls, so use the
verified pointer to assign to strings. Discovered by `clang-analyzer`.
2022-05-21 17:23:19 -04:00
Ben Boeckel
f1d55ff7e9
style: use cmStrCat in some more locations
2022-05-19 15:54:28 -04:00
Nikhil Reddy Ramolla
5d178fcc53
CTest: Add CTEST_SUBMIT_INACTIVITY_TIMEOUT variable
...
Fixes : #22617
2021-10-14 11:41:44 -04:00
Marc Chevrier
cc56dc7468
Rename cmProp in cmValue
2021-09-21 17:14:04 +02:00
Marc Chevrier
f9bcde974e
cmCTestGenericHandler::GetOption returns cmProp
2021-09-13 11:29:07 +02:00
Ben Boeckel
ce44c2cec3
ctest_memcheck: generate DynamicAnalysis-Test.xml as well
...
This is useful so that memcheck results also show up as test results on
CDash. It will be submitted with the other `MemCheck` parts.
Fixes : #22190
2021-09-08 21:04:46 -04:00
Vitaly Stakhovsky
825b04c67a
cmCTest: Members accept std::string parameters
2020-07-27 10:58:39 -04:00
Vitaly Stakhovsky
b36d1bdd9d
Single location for cmProp typedef
2020-06-01 08:54:20 -04:00
Marc Chevrier
2faa3f6c55
Refactoring: Third-parties public headers are under cm3p prefix
...
Fixes : #20666
2020-05-07 12:06:08 +02:00
Brad King
a6611577c3
Merge topic 'cmprop-getglobalprop'
...
c84cf42897 cmState::GetGlobalProperty: return cmProp
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4521
2020-03-27 07:50:28 -04:00
Vitaly Stakhovsky
c84cf42897
cmState::GetGlobalProperty: return cmProp
2020-03-25 09:10:46 -04:00
Rolf Eike Beer
761f1adcae
check for a valid URL scheme before starting to do any splitting
2020-03-23 22:41:44 +01:00
Betsy McPhail
7a1cce210b
CTest: Fix our internal CURL_DEBUGFUNCTION to conform to CURL docs
...
The curl debug callback function must return ``0``.
Fixes : #20449
2020-03-11 13:36:58 -04:00
Marc Chevrier
f7d12609f0
Refactoring: use append functions from cmext/algorithm
2019-12-17 10:44:02 +01:00
Kitware Robot
ed98209ddc
Revise include order using clang-format-6.0
...
Run the `clang-format.bash` script to update our C and C++ code to a new
include order `.clang-format`. Use `clang-format` version 6.0.
2019-10-01 12:26:36 -04:00
Regina Pfeifer
f30523d090
clang-tidy: modernize-deprecated-headers
2019-09-16 10:11:13 -04:00
Regina Pfeifer
62e5f72289
clang-tidy: Replace typedef with using
2019-09-03 13:21:26 -04:00
Brad King
8685d0d291
Merge topic 'source_sweep_cmExpandedList'
...
aaf59120bf Source sweep: Replace cmExpandList with the shorter cmExpandedList
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3725
2019-08-26 10:47:24 -04:00
Sebastian Holtermann
aaf59120bf
Source sweep: Replace cmExpandList with the shorter cmExpandedList
...
This replaces the code pattern
```
std::vector<std::string> args;
cmExpandList(valueStr, args, ...)
```
with
```
std::vector<std::string> args = cmExpandedList(valueStr, ...)
```
2019-08-23 17:07:49 +02:00
Zack Galbreath
2a71a0390c
ctest: rename TRACK to GROUP
...
Update command-line options, script variables, and documentation to use
the term "group" instead of "track". The old terms are still available
for now, but they are now undocumented.
This makes our terminology more consistent with CDash. The goal of this
change is to make it more clear to our users how CTest and CDash interact
with each other.
2019-08-22 13:10:18 -04:00
Sebastian Holtermann
20e580be01
Source sweep: Use cmIsOn instead of cmSystemTools::IsOn
...
This replaces invocations of
- `cmSystemTools::IsInternallyOn` with `cmIsInternallyOn`
- `cmSystemTools::IsNOTFOUND` with `cmIsNOTFOUND`
- `cmSystemTools::IsOn` with `cmIsOn`
- `cmSystemTools::IsOff` with `cmIsOff`
2019-08-17 12:14:14 +02:00
Kyle Edwards
2beed5a4ef
Merge topic 'cmExpandList'
...
2f6495e24e cmSystemTools: Remove ExpandListArgument methods
f4f3c68926 Source code: Use cmExpandList instead of cmSystemTools::ExpandListArgument
ff42dec891 cmStringAlgorithms: Add cmExpandList functions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3682
2019-08-16 14:51:03 -04:00
Sebastian Holtermann
f4f3c68926
Source code: Use cmExpandList instead of cmSystemTools::ExpandListArgument
2019-08-14 16:33:20 +02:00
Sebastian Holtermann
935fbe0b04
cmStringAlgorithms: Add cmStrToLong and cmStrToULong
...
This adds the following functions to cmStringAlgorithms:
- `cmStrToLong`: moved from `cmSystemTools::StringToLong`
- `cmStrToULong`: moved from `cmSystemTools::StringToULong`
Overloads of the given functions for `std::string` are added as well.
2019-08-10 14:39:03 +02:00
Sebastian Holtermann
18b0330b86
clang-tidy: Enable performance-inefficient-string-concatenation
...
Enables the clang-tidy test performance-inefficient-string-concatenation
and replaces all inefficient string concatenations with `cmStrCat`.
Closes : #19555
2019-08-05 17:21:00 +02:00
Sebastian Holtermann
f71f7ce3f0
cmStringAlgorithms: Move string functions to the new cmStringAlgorithms.h
...
This adds the `cmStringAlgorithms.h` header and moves all string functions
from `cmAlgorithms.h` to `cmStringAlgorithms.h`.
2019-07-29 21:13:56 +02:00
Betsy McPhail
da79075c4d
CTest: Generate Done.xml before calculating its hash
...
Fixes : #19489
2019-07-19 12:00:30 -04:00
Sebastian Holtermann
006229278b
Use cmAppend to append ranges to std::vector instances
2019-05-23 16:19:49 +02:00
Regina Pfeifer
a5eeb0310d
cmCTest: Cleanup typedefs
2019-03-20 11:41:29 -04:00
Regina Pfeifer
b172a81d55
cmCTest: Use concrete accessor functions for TestingHandlers
2019-03-20 11:39:14 -04:00
Artur Ryt
f3534386b5
Prefer front/back/data over dereferencing begin/rbegin iter
...
Changed for sequenced containers: vector, list, string and array
2019-02-06 10:43:16 -05:00
Regina Pfeifer
094f01d0f0
cleanup: Prefer compiler provided special member functions
2019-01-25 06:45:00 -05:00
Regina Pfeifer
55671b41d2
clang-tidy: Use = default
...
Suppress some cases in `Source/cmGeneratorExpressionNode.cxx` and
`Source/cmUVHandlePtr.h` where a few older compilers require a
user-defined default constructor (with `{}`).
2019-01-25 06:44:32 -05:00
Brad King
4dba5d6ce2
Merge topic 'use-emplace'
...
ef61997b1b clang-tidy: Use emplace
2e5307a2a4 CTestSVN: Accept std::string in SVNInfo constructor
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2811
2019-01-21 07:51:54 -05:00
Regina Pfeifer
ef61997b1b
clang-tidy: Use emplace
2019-01-17 13:12:02 -05:00
Regina Pfeifer
65f1fc9d63
CTest: Add function GetSubmitURL
2019-01-16 10:34:08 -05:00
Regina Pfeifer
2bedd5fb7c
ctest_submit: Remove submit method from log output
2019-01-16 10:34:08 -05:00
Regina Pfeifer
32cb564bea
clang-tidy: Remove redundant member initializations
2018-12-15 10:51:47 +01:00
Brad King
2d402239c7
Merge topic 'submit-method'
...
9501a6145d CTest: Remove special case for Dart version <= 1
e184603378 CTest: Add release note about removed submission methods
8c25aa2feb CTest: Remove submission trigger
a688c6b928 CTest: Remove submit method 'ftp'
c339b64cf2 CTest: Remove submit method 'scp'
aebdad399e CTest: Remove submit method 'cp'
c2f6872c4e CTest: Remove submit method 'xmlrpc'
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2672
2018-12-07 08:33:46 -05:00
Regina Pfeifer
8c25aa2feb
CTest: Remove submission trigger
2018-11-29 00:29:13 +01:00
Regina Pfeifer
a688c6b928
CTest: Remove submit method 'ftp'
2018-11-29 00:29:13 +01:00
Regina Pfeifer
c339b64cf2
CTest: Remove submit method 'scp'
2018-11-29 00:29:13 +01:00
Regina Pfeifer
aebdad399e
CTest: Remove submit method 'cp'
2018-11-29 00:29:13 +01:00