summaryrefslogtreecommitdiffstats
path: root/Source/CTest
Commit message (Collapse)AuthorAgeFilesLines
* cmSystemTools::Error(): remove const char* overloadVitaly Stakhovsky2019-05-221-1/+2
|
* ctest: Add new variable CTEST_UPDATE_VERSION_OVERRIDEZack Galbreath2019-05-075-0/+25
| | | | | Set this in a CTest script to explicitly define what the current revision will be reported as in Update.xml.
* Refactor: Move/rename cmProcessGetPipes() to cmGetPipes()Kyle Edwards2019-04-251-44/+2
|
* ctest: consistently format generator nameZack Galbreath2019-04-231-1/+1
| | | | | | | Notes.xml and Upload.xml were missing a hyphen that the rest of our XML files included. ctest3.14.0-rc1 vs. ctest-3.14.0-rc1
* ctest: Include ChangeId in Update.xmlZack Galbreath2019-04-231-0/+4
|
* ctest: drop incremental progress-only messages from build-and-test outputBrad King2019-04-121-3/+4
| | | | | | The cmake progress callback is called with non-negative progress values to provide incremental updates on "Configuring" and "Generating" steps. These are useful in interactive views but are just noise in test output.
* Modernize: Enable modernize-raw-string-literal in clang-tidyArtur Ryt2019-04-023-21/+21
|
* Merge topic 'utilize-substr'Brad King2019-04-015-8/+8
|\ | | | | | | | | | | | | | | 2d66567dca Modernize: Prefer .substr in place of .c_str() + int Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Sebastian Holtermann <sebholt@xwmw.org> Merge-request: !3169
| * Modernize: Prefer .substr in place of .c_str() + intArtur Ryt2019-03-305-8/+8
| | | | | | | | | | | | A lot of temporary/local strings were created out of C-strings substr can utilize current string size, so in theory be a little more efficient.
* | Fix invalid ///! doxygen comment line startsSebastian Holtermann2019-03-313-6/+6
|/ | | | | In various places `///!` was used to start a comment line. This is not valid Doygen syntax. This patch replaces `///!` comment starts with `//!`.
* Merge topic 'jacoco_parser_crash'Brad King2019-03-271-0/+1
|\ | | | | | | | | | | | | 1d16eae868 ctest_coverage: fix out-of-bounds index in Jacoco parser Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3147
| * ctest_coverage: fix out-of-bounds index in Jacoco parserSylvain Joubert2019-03-261-0/+1
| | | | | | | | | | | | | | | | | | | | When the current source file is not found the FilePath variable was left with the previous path content. In case the previous file had less lines than the current one and there are 'line' entries for the current one with higher number we ended up in a buffer overflow while indexing the previous file entry with a line number higher. By clearing the FilePath, the empty() guard triggers correctly on an empty path and it avoid modifying the wrong data.
* | ctest_submit: Add option BUILD_IDZack Galbreath2019-03-222-21/+40
| | | | | | | | Fixes: #18968
* | Merge topic 'ctest-devirtualize-handlers'Brad King2019-03-2115-93/+55
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5a72dbd40c cmCTest: Remove dead code a5eeb0310d cmCTest: Cleanup typedefs 71a3391b5f cmCTest: Use default member initialization b172a81d55 cmCTest: Use concrete accessor functions for TestingHandlers 46090c2337 cmCTest: Store TestingHandlers by value da5ee509b2 cmCTest: Move all data members to private implementation struct 670d27da64 cmCTest: Remove friend declarations 9406844616 cmCTest: De-inline all member functions Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Daniel Pfeifer <daniel@pfeifer-mail.de> Merge-request: !3114
| * | cmCTest: Cleanup typedefsRegina Pfeifer2019-03-207-21/+15
| | |
| * | cmCTest: Use concrete accessor functions for TestingHandlersRegina Pfeifer2019-03-209-69/+34
| | |
| * | cmCTest: Remove friend declarationsRegina Pfeifer2019-03-181-3/+6
| | |
* | | Rename cmFileTimeCache::FileTimeCompare to cmFileTimeCache::CompareSebastian Holtermann2019-03-181-1/+1
| | |
* | | Rename cmFileTimeComparison to cmFileTimeCacheSebastian Holtermann2019-03-181-4/+4
|/ / | | | | | | | | The name `cmFileTimeCache` reflects the functionality of the class more appropriately.
* | Merge topic 'feature/cleanup-ctest'Kyle Edwards2019-03-073-21/+18
|\ \ | | | | | | | | | | | | | | | | | | 1166aa5ce7 ctest: refactor some code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3064
| * | ctest: refactor some codeGregor Jasny2019-03-053-21/+18
| | |
* | | cmake: Teach --build mode to support multiple targetsBartosz Kosiorek2019-03-051-1/+1
|/ / | | | | | | Fixes: #16136
* | Merge topic 'cmrange-improvements'Brad King2019-02-252-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b8031308f3 cmRange: Add unit tests a8d51ef8b7 cmRange: Add functions filter and transform da4773e8b8 cmRange: Add functions all_of, any_of, none_of 17a367e77f cmRange: Stylistic cleanup 9eb0e73f46 cmRange: Move to dedicated header file Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Artur Ryt <artur.ryt@gmail.com> Merge-request: !2972
| * | cmRange: Move to dedicated header fileRegina Pfeifer2019-02-212-2/+2
| | |
* | | Merge topic 'error-consolidate'Brad King2019-02-252-11/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 9dd255548d cmSystemTools::Error: consolidate parameters into single std::string Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2995
| * | | cmSystemTools::Error: consolidate parameters into single std::stringVitaly Stakhovsky2019-02-202-11/+10
| |/ /
* | | cmSystemTools: More functions accept `std::string` paramsVitaly Stakhovsky2019-02-2011-19/+19
|/ /
* | Delete some default constructors and assignment operatorsAlbert Astals Cid2019-02-156-0/+19
| | | | | | | | | | | | They are unused, but if someone used them they would lead to problems since they would copy the internal raw pointers and the destructor would cause double delete
* | Merge topic 'systools-stdstring2'Brad King2019-02-132-11/+9
|\ \ | | | | | | | | | | | | | | | | | | 080a79ca4a cmSystemTools: More methods accept `std::string` params Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2952
| * | cmSystemTools: More methods accept `std::string` paramsVitaly Stakhovsky2019-02-112-11/+9
| | |
* | | Merge topic 'progress-stdstring'Brad King2019-02-122-9/+11
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 950c099d83 cmake: Progress functions use `std::string` param Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2948
| * | | cmake: Progress functions use `std::string` paramVitaly Stakhovsky2019-02-112-9/+11
| |/ /
* | | Merge topic 'cmCTestRunTest-compress'Brad King2019-02-122-78/+11
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 948c55857e cmCTestRunTest: Remove duplicated compression logic Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2946
| * | cmCTestRunTest: Remove duplicated compression logicRegina Pfeifer2019-02-102-78/+11
| | |
* | | Merge topic 'ctest-exit-code-int64'Brad King2019-02-114-7/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 440b08e4f0 CTest: Represent process exit codes as 64-bit signed integer Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2944
| * | | CTest: Represent process exit codes as 64-bit signed integerZsolt Parragi2019-02-084-7/+12
| |/ / | | | | | | | | | | | | | | | | | | Exit code constants on Windows, such as `STATUS_NO_MEMORY` do not fit in a 32-bit signed integer type. They do fit in an unsigned 32-bit type, but for compatibility with UNIX semantics we treat exit codes as signed. Use a 64-bit signed integer to handle both.
* | | Merge topic 'modernize-for-loops'Brad King2019-02-112-6/+5
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | 01b2d6ab74 Modernize: Use ranged for-loops when possible 15bdbec017 cmAlgorithms: Make cmRange advance/retreat safe for rvalues Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Daniel Pfeifer <daniel@pfeifer-mail.de> Merge-request: !2901
| * | Modernize: Use ranged for-loops when possibleArtur Ryt2019-02-072-6/+5
| | | | | | | | | | | | | | | | | | | | | Replaced most manual `const_iterator`-based loops and some reverse-iterator loops with range loops. Fixes: #18858
* | | Merge topic 'message-stdstring'Brad King2019-02-081-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 82edd98300 cmSystemTools: MessageCallback and Message() accept std::string argument Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2929
| * | | cmSystemTools: MessageCallback and Message() accept std::string argumentVitaly Stakhovsky2019-02-071-1/+1
| | |/ | |/|
* | | Merge topic 'runsinglecommand'Brad King2019-02-082-7/+6
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 65baaa0e37 cmSystemTools::RunSingleCommand: Accept std::string argument Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2927
| * | cmSystemTools::RunSingleCommand: Accept std::string argumentVitaly Stakhovsky2019-02-062-7/+6
| |/
* | Prefer front/back/data over dereferencing begin/rbegin iterArtur Ryt2019-02-065-17/+16
|/ | | | Changed for sequenced containers: vector, list, string and array
* OutputCallback: Accept std::string argumentRegina Pfeifer2019-01-301-5/+2
|
* Merge topic 'functional-callbacks'Brad King2019-01-302-39/+26
|\ | | | | | | | | | | | | | | | | | | 8c92db829b MessageCallback: Remove unused bool& argument bcee24aecc Use `std::function` for callbacks Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: vvs31415 <vstakhovsky@fastmail.com> Acked-by: Daniel Pfeifer <daniel@pfeifer-mail.de> Merge-request: !2872
| * MessageCallback: Remove unused bool& argumentRegina Pfeifer2019-01-291-1/+1
| |
| * Use `std::function` for callbacksRegina Pfeifer2019-01-292-39/+26
| |
* | Merge topic 'tidy-use-equals-default'Brad King2019-01-2923-76/+24
|\ \ | |/ |/| | | | | | | | | | | | | 094f01d0f0 cleanup: Prefer compiler provided special member functions 55671b41d2 clang-tidy: Use `= default` Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !2841
| * cleanup: Prefer compiler provided special member functionsRegina Pfeifer2019-01-257-28/+6
| |
| * clang-tidy: Use `= default`Regina Pfeifer2019-01-2522-55/+25
| | | | | | | | | | | | Suppress some cases in `Source/cmGeneratorExpressionNode.cxx` and `Source/cmUVHandlePtr.h` where a few older compilers require a user-defined default constructor (with `{}`).