summaryrefslogtreecommitdiffstats
path: root/Source/CTest
Commit message (Collapse)AuthorAgeFilesLines
* 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 `{}`).
* | cmFileTimeComparison: use std::string argumentsVitaly Stakhovsky2019-01-281-2/+1
| |
* | Merge topic 'max-recursion-depth'Brad King2019-01-253-5/+15
|\ \ | | | | | | | | | | | | | | | | | | | | | a6982cff0d cmMakefile: Impose maximum recursion limit Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Juraj Oršulić <juraj.orsulic@fer.hr> Merge-request: !2746
| * | cmMakefile: Impose maximum recursion limitKyle Edwards2019-01-233-5/+15
| |/ | | | | | | | | | | | | | | | | In order to keep infinitely-recursive scripts from causing a stack overflow in the CMake executable, CMake now imposes a maximum recursion limit before issuing an error message. The limit can be adjusted at runtime with CMAKE_MAXIMUM_RECURSION_DEPTH. Fixes: #18694
* | Merge topic 'cmake-files-directory'Brad King2019-01-252-3/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | 3e867ed400 cmake: inlined files dir constant and removed it from cmake.h Acked-by: Kitware Robot <kwrobot@kitware.com> Rejected-by: vvs31415 <vstakhovsky@fastmail.com> Merge-request: !2655
| * | cmake: inlined files dir constant and removed it from cmake.hBruno Manganelli2019-01-212-3/+2
| | |
* | | cmSystemTools::RenameFile: Accepts std::string argsVitaly Stakhovsky2019-01-231-1/+1
| |/ |/|
* | Merge topic 'Wcomma'Brad King2019-01-221-2/+2
|\ \ | | | | | | | | | | | | | | | | | | 5ff7fb592e Fixed all but one clang -Wcomma warning Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2828
| * | Fixed all but one clang -Wcomma warningSean McBride2019-01-121-2/+2
| | |
* | | Merge topic 'read-list-file'Brad King2019-01-213-5/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 25caf7bafe cmMakefile::ReadListFile() accepts std::string argument Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2821
| * | | cmMakefile::ReadListFile() accepts std::string argumentVitaly Stakhovsky2019-01-173-5/+5
| | | | | | | | | | | | | | | | Same for cmMakefile::ReadDependentFile(); some cleanup
* | | | Merge topic 'cmake-role-fix'Brad King2019-01-211-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 264bdac185 CMAKE_ROLE: Fix value for ctest --build-and-test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2820
| * | | | CMAKE_ROLE: Fix value for ctest --build-and-testKyle Edwards2019-01-181-1/+1
| |/ / / | | | | | | | | | | | | | | | | --build-and-test builds a CMake project, so CMAKE_ROLE should be PROJECT. Fix this and add a test case.
* | | | Merge topic 'use-emplace'Brad King2019-01-2112-46/+45
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ef61997b1b clang-tidy: Use emplace 2e5307a2a4 CTestSVN: Accept std::string in SVNInfo constructor Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2811
| * | | | clang-tidy: Use emplaceRegina Pfeifer2019-01-1711-44/+43
| | | | |
| * | | | CTestSVN: Accept std::string in SVNInfo constructorBrad King2019-01-172-2/+2
| |/ / /
* | | | Merge topic 'ctest-json-polish'Brad King2019-01-211-0/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cae9d2a61a CTest: Teach --show-only= to reject unknown values 7370b02c36 CTest: Teach --show-only=json-v1 to filter out not-available tests 62fec84ad7 Tests: Fix RunCMake.CTestCommandLine case when no python is found 75a7a23746 Tests: Rename RunCMake.CTestCommandLine show-only test cases fecbc87608 Tests: Fix RunCMake.CTestCommandLine to actually check json-v1 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2812
| * | | | CTest: Teach --show-only=json-v1 to filter out not-available testsBrad King2019-01-171-0/+5
| | |_|/ | |/| | | | | | | | | | | | | | | | | | Avoid exposing the internal special value that we use to track tests not available in the tested configuration. This also prevents clients from having to do the filtering themselves.
* | | | Merge topic 'submit-url'Brad King2019-01-214-117/+54
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2915a75615 CTest: Add documentation and release notes for SubmitURL d6475daa79 Modules/CTest: Set SubmitURL 938f06fda6 ctest_submit: Add parameter SUBMIT_URL 65e725c957 CTest: Add option SubmitURL 65f1fc9d63 CTest: Add function GetSubmitURL 2bedd5fb7c ctest_submit: Remove submit method from log output Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2719
| * | | ctest_submit: Add parameter SUBMIT_URLRegina Pfeifer2019-01-162-1/+16
| | | |
| * | | CTest: Add option SubmitURLRegina Pfeifer2019-01-161-25/+15
| | | | | | | | | | | | | | | | Fixes: #18610
| * | | CTest: Add function GetSubmitURLRegina Pfeifer2019-01-162-39/+2
| | | |
| * | | ctest_submit: Remove submit method from log outputRegina Pfeifer2019-01-161-64/+33
| |/ /