summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
Commit message (Collapse)AuthorAgeFilesLines
* cmStringAlgorithms: Move string functions to the new cmStringAlgorithms.hSebastian Holtermann2019-07-291-0/+1
| | | | | This adds the `cmStringAlgorithms.h` header and moves all string functions from `cmAlgorithms.h` to `cmStringAlgorithms.h`.
* Introduce memory management helper: cm_memory.hxxMarc Chevrier2019-07-141-1/+2
|
* Merge topic 'cleanup-statics-stream-flush'Craig Scott2019-07-131-14/+10
|\ | | | | | | | | | | | | | | | | | | af75ab7645 Refactor: Use anonymous namespace instead of `static`s in `cpack.cxx` 0db458a0ce Refactor: Use anonymous namespace instead of `static`s 0328b64efd Refactor: Remove one-time used macros b821f9ad62 Refactor: Optimize some stream output operations Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3535
| * Refactor: Optimize some stream output operationsAlex Turbov2019-07-091-14/+10
| | | | | | | | | | | | | | - remove redundant `std::flush` right after `std::endl` - join some string literals Signed-off-by: Alex Turbov <i.zaufi@gmail.com>
* | IWYU: Fix handling of <memory> standard headerBrad King2019-07-101-1/+1
|/ | | | | | | | An old workaround for `std::allocator_traits<>::value_type` lints from IWYU on `std::vector<>` usage breaks IWYU's handling of `<memory>`. Convert the workaround to use the same approach we already use for a workaround of `std::__decay_and_strip<>::::__type` lints. Then update the `<memory>` inclusions to follow the now-correct IWYU lints.
* cmSystemTools: std::string parameters for tar functionsVitaly Stakhovsky2019-05-291-2/+2
|
* Use cmAppend to append ranges to std::vector instancesSebastian Holtermann2019-05-231-5/+4
|
* 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
* cmCTest: Remove dead codeRegina Pfeifer2019-03-201-83/+0
|
* cmCTest: Cleanup typedefsRegina Pfeifer2019-03-201-25/+11
|
* cmCTest: Use default member initializationRegina Pfeifer2019-03-201-93/+42
|
* cmCTest: Use concrete accessor functions for TestingHandlersRegina Pfeifer2019-03-201-111/+89
|
* cmCTest: Store TestingHandlers by valueRegina Pfeifer2019-03-181-44/+80
|
* cmCTest: Move all data members to private implementation structRegina Pfeifer2019-03-181-319/+442
|
* cmCTest: Remove friend declarationsRegina Pfeifer2019-03-181-0/+5
|
* cmCTest: De-inline all member functionsRegina Pfeifer2019-03-181-0/+151
|
* cmSystemTools: More functions accept `std::string` paramsVitaly Stakhovsky2019-02-201-1/+1
|
* Prefer front/back/data over dereferencing begin/rbegin iterArtur Ryt2019-02-061-7/+7
| | | | Changed for sequenced containers: vector, list, string and array
* cmSystemTools::Error(): new overload accepting std::stringVitaly Stakhovsky2019-01-231-1/+1
|
* Merge topic 'stdout-string'Brad King2019-01-221-2/+2
|\ | | | | | | | | | | | | 3132ea801c cmSystemTools: Stdout(),Stderr() accept std::string argument Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2829
| * cmSystemTools: Stdout(),Stderr() accept std::string argumentVitaly Stakhovsky2019-01-201-2/+2
| |
* | Merge topic 'read-list-file'Brad King2019-01-211-9/+6
|\ \ | | | | | | | | | | | | | | | | | | 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-171-9/+6
| |/ | | | | | | Same for cmMakefile::ReadDependentFile(); some cleanup
* | Merge topic 'use-emplace'Brad King2019-01-211-3/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | 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-171-3/+3
| |/
* | Merge topic 'ctest-json-polish'Brad King2019-01-211-0/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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= to reject unknown valuesBrad King2019-01-171-0/+3
| | |
* | | Merge topic 'submit-url'Brad King2019-01-211-0/+26
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Add option SubmitURLRegina Pfeifer2019-01-161-2/+2
| | | | | | | | | | | | Fixes: #18610
| * | CTest: Add function GetSubmitURLRegina Pfeifer2019-01-161-0/+26
| |/
* | Properties: Add CMAKE_ROLE global propertyKyle Edwards2019-01-171-1/+1
|/ | | | | This property allows scripts to determine whether they're in project mode, script mode, find-package mode, CTest, or CPack.
* Fix most clang -Wextra-semi-stmt warnings in C++ filesSean McBride2019-01-151-3/+5
| | | | Suppress one in code generated by flex.
* CTest: Add --show-only[=format] option to print test infoJustin Goshi2019-01-101-0/+26
| | | | | | format can be 'human' to print the current text format or 'json-v1' to print the test object model in json format and is useful for IDEs who want to gather information about the tests. Defaults to 'human' format.
* CTest: Remove special case for Dart version <= 1Regina Pfeifer2018-11-281-16/+0
|
* Merge topic 'readability-static-accessed-through-instance'Brad King2018-11-281-1/+1
|\ | | | | | | | | | | | | 3e60580784 clang-tidy: Fix readability-static-accessed-through-instance Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2647
| * clang-tidy: Fix readability-static-accessed-through-instanceRegina Pfeifer2018-11-211-1/+1
| | | | | | | | Enable the check in .clang-tidy and fix all warnings.
* | Remove warning when no CTestConfig.cmake file existsRegina Pfeifer2018-11-201-10/+0
|/ | | | | | Some CTestConfig.cmake files used to set CTEST_PROJECT_NAME only. Since this variable is no longer used, it is more likely that the whole file is no longer provided by projects.
* CTest: Add colored output on tests summary where supportedSylvain Joubert2018-11-091-5/+38
| | | | | | | | - Number of passed/failed tests is colored according to the whole outcome - Individual listed tested are colored according to their completion status: * Disabled: blue * Failed: red * Not Run: yellow
* Using front() and back() instead of calculationsCengizhan Pasaoglu2018-11-061-2/+2
|
* ctest_submit: Add support for a "Done" partBetsy McPhail2018-10-101-0/+21
| | | | | | | | | | | Teach CTest to submit Done.xml. Submission of this file indicates to CDash that a build is complete and no more files will be uploaded. It contains the build id returned by CDash and the current time. This file is submitted last for a given build when using the `ctest_submit()` command. If submitting by PARTS, use `ctest_submit(PARTS Done)`.
* ctest: Add option for live progress summary in terminalMichael Wegner2018-09-261-3/+77
|
* Merge topic 'fix-ctest_start-track'Brad King2018-09-111-2/+4
|\ | | | | | | | | | | | | 09f0325eaf CTest: Fix regression in ctest_start() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2366
| * CTest: Fix regression in ctest_start()Kyle Edwards2018-09-101-2/+4
| | | | | | | | | | | | | | | | The format for the TAG file was changed in 3.12, and the way it was read caused a regression which changed how the track was decided. This commit fixes the regression. Fixes #18347.
* | Remove unnecessary c_str() callsVitaly Stakhovsky2018-09-051-5/+4
| | | | | | | | Use the new IsOn(),IsOff() overloads.
* | cmGeneratedFileStream: clang-tidy applied to remove redundant ``c_str`` callsSebastian Holtermann2018-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After changing the ``cmGeneratedFileStream`` methods to accept ``std::string const&`` instead of ``const char*`` we don't need to call ``std::string::c_str`` anymore when passing a ``std::string`` to a ``cmGeneratedFileStream`` method. This patch removes all redundant ``std::string::c_str`` calls when passing a string to a ``cmGeneratedFileStream`` method. It was generated by building CMake with clang-tidy enabled using the following options: -DCMAKE_CXX_CLANG_TIDY=/usr/bin/clang-tidy-4.0;-checks=-*,readability-redundant-string-cstr;-fix;-fix-errors
* | Update use of KWSys SystemTools::SplitString for new signatureBrad King2018-06-221-3/+2
|/
* Revise C++ coding style using clang-format-6.0Kitware Robot2018-06-011-104/+139
| | | | | | | | | | | | Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 6.0. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* ctest_start: read model from TAG fileKyle Edwards2018-05-091-5/+55
| | | | | | | | This change reworks ctest_start() so that simply calling ctest_start(APPEND) will read all the information from the TAG file. On top of that, it relaxes the argument parsing for ctest_start() to allow greater flexibility in the argument ordering, and the documentation for ctest_start() has been cleaned up.
* Reduce raw string pointers usage.Pavel Solodovnikov2018-01-311-20/+18
| | | | | | | | | | * Change some functions to take `std::string` instead of `const char*` in the following classes: `cmMakeFile`, `cmake`, `cmCoreTryCompile`, `cmSystemTools`, `cmState`, `cmLocalGenerator` and a few others. * Greatly reduce using of `const char*` overloads for `cmSystemTools::MakeDirectory` and `cmSystemTools::RelativePath`. * Remove many redundant `c_str()` conversions throughout the code.
* Merge topic 'ctest_start_function_scope'Brad King2018-01-291-0/+8
|\ | | | | | | | | | | | | | | 13347740 Help: add release notes, documentation for CTEST_RUN_CURRENT_SCRIPT behavior 74092d92 cmCTestScriptHandler: Add new field ShouldRunCurrentScript Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1703