summaryrefslogtreecommitdiffstats
path: root/Source/CTest
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |/ /
* | | Properties: Add CMAKE_ROLE global propertyKyle Edwards2019-01-174-4/+6
|/ / | | | | | | | | This property allows scripts to determine whether they're in project mode, script mode, find-package mode, CTest, or CPack.
* | Merge topic 'semi-warnings'Brad King2019-01-162-8/+11
|\ \ | | | | | | | | | | | | | | | | | | b056bc3425 Fix most clang -Wextra-semi-stmt warnings in C++ files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2795
| * | Fix most clang -Wextra-semi-stmt warnings in C++ filesSean McBride2019-01-152-8/+11
| | | | | | | | | | | | Suppress one in code generated by flex.
* | | Factor out enum MessageType into dedicated headerBruno Manganelli2019-01-164-8/+9
|/ / | | | | | | Reduce the number of files relying on `cmake.h`.
* | IWYU: Update CMake code for IWYU built with Clang 6Brad King2019-01-152-1/+2
|/ | | | | IWYU now correctly requires `<utility>` for `std::move`. It also requires a container header when used via a range-based for loop.
* CTest: Add --show-only[=format] option to print test infoJustin Goshi2019-01-103-0/+336
| | | | | | 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.
* TestGenerator: Record support file and line where test was addedJustin Goshi2019-01-082-0/+29
| | | | | Add internal test properties that ctest can use to report where the test was added in CMake code.
* clang-tidy: Use default member initializationRegina Pfeifer2018-12-152-12/+5
|
* clang-tidy: Remove redundant member initializationsRegina Pfeifer2018-12-152-4/+1
|
* Merge topic 'submit-method'Brad King2018-12-074-771/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | 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
| * CTest: Remove special case for Dart version <= 1Regina Pfeifer2018-11-282-16/+1
| |
| * CTest: Remove submission triggerRegina Pfeifer2018-11-283-167/+0
| |
| * CTest: Remove submit method 'ftp'Regina Pfeifer2018-11-282-239/+5
| |
| * CTest: Remove submit method 'scp'Regina Pfeifer2018-11-283-139/+0
| |
| * CTest: Remove submit method 'cp'Regina Pfeifer2018-11-282-68/+0
| |
| * CTest: Remove submit method 'xmlrpc'Regina Pfeifer2018-11-282-142/+0
| |
* | cmSystemTools: Add EncodeURL helperBrad King2018-11-281-20/+1
|/ | | | | | | Factor a URL encoding implementation out of CTest. Add an option to not escape slashes. Suggested-by: Daniel Pfeifer <daniel@pfeifer-mail.de>
* Merge topic 'readability-static-accessed-through-instance'Brad King2018-11-286-11/+14
|\ | | | | | | | | | | | | 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-216-11/+14
| | | | | | | | Enable the check in .clang-tidy and fix all warnings.
* | Merge topic 'ctest-updates'Brad King2018-11-273-23/+12
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d9195ab081 Tests: Teach run_ctest to handle removal of CTestConfig.cmake 1ca53f5ef1 Remove unnecessary CTEST_PROJECT_NAME variables 15ac4aae0e Remove warning when no CTestConfig.cmake file exists 3125c47d27 ctest_build: Do not require unnecessary [CTEST_]PROJECT_NAME value 36bbd07a76 CDashUpload: Use the query part of the submit url as field e1dfe8cee6 CTest: Don't require 'submit.php?' in submit location Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2640
| * | ctest_build: Do not require unnecessary [CTEST_]PROJECT_NAME valueRegina Pfeifer2018-11-201-14/+2
| | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.0.0-rc1~260^2~32 (ctest_build: Use "cmake --build" to launch the native build tool, 2013-11-14) we no longer need to use the project name in `ctest_build()`. Fixes: #18612
| * | CDashUpload: Use the query part of the submit url as fieldRegina Pfeifer2018-11-202-7/+6
| | |
| * | CTest: Don't require 'submit.php?' in submit locationRegina Pfeifer2018-11-201-2/+4
| |/ | | | | | | Fixes: #18611
* | clang-tidy: Enable checks from bugprone setRegina Pfeifer2018-11-211-2/+2
|/
* Merge topic 'ctest-stdin'Brad King2018-11-191-1/+2
|\ | | | | | | | | | | | | | | 86e8315482 CTest: Restore inheritance of stdin by test processes bdec3bd896 Tests: Teach RunCMake infrastructure to optionally provide stdin Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2618
| * CTest: Restore inheritance of stdin by test processesBrad King2018-11-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | Since commit v3.11.0-rc1~117^2 (CTest: Re-implement test process handling using libuv, 2017-12-10) we do not give the child test processes any stdin. Prior to that change we let the child test processes inherit stdin from ctest itself. Tests that run serially might be able to use the real stdin meaningfully, so restore that behavior and add a test case. Fixes: #18591
| * Merge branch 'set_directory_properties-script-mode' into release-3.13Brad King2018-10-291-0/+1
| |\ | | | | | | | | | Merge-request: !2544
* | | CTest: Add colored output on tests summary where supportedSylvain Joubert2018-11-092-10/+31
| | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | Merge topic 'set_directory_properties-script-mode'Brad King2018-10-301-0/+1
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 50572d638b set_directory_properties: Restore in script mode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2544
| * | set_directory_properties: Restore in script modeBrad King2018-10-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.10.0-rc1~391^2~3 (Add directory property 'LABELS' and CMAKE_DIRECTORY_LABELS variable, 2017-06-23) this command was accidentally not allowed in script mode. It was dropped because `ctest -S` mode needs to start with CMake's normal script mode and then replace the `set_directory_properties` implementation. Restore the normal `set_directory_properties` in script mode and then add special logic to replace it in ctest. Also add a test case. Fixes: #18523
* | | Merge topic 'ctest-coverage-gtm-percent'Brad King2018-10-171-2/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | f7d92deff4 CTest: Fix GTM coverage handling of entry point named "%" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2489
| * | | CTest: Fix GTM coverage handling of entry point named "%"Joseph Snyder2018-10-161-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing the "%" character from the name of the routine in the line parser causes CTest to be unable to find a routine entry point that is only named "%". Instead leave it during line parsing and handle routine names ending in "%" explicitly when loading files.
* | | | ctest_submit: Generate Done.xml at submit timeZack Galbreath2018-10-151-1/+11
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a bug where calling `ctest_submit()` would result in a Done.xml file with an empty <buildId> element. CDash responds with a buildId when CTest submits a file. For this reason, Done.xml needs to generated after CTest has submitted some other file to CDash. This change also has the benefit of making Done.xml's timestamp as late as possible, giving us a more accurate record of how long the entire build took to complete.