summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CTest/RunCMakeTest.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Add case verifying CTest module SITE variableBrad King2020-10-221-0/+1
|
* Fix regression in test/install/package configuration selectionBrad King2020-10-151-0/+11
| | | | | | | | | | In commit 7a969fe21d (cmMakefile: Refactor API to better handle empty config values, 2020-06-30, v3.19.0-rc1~567^2), calls to `GetGeneratorConfigs` that pass `OnlyMultiConfig` only want to get any configurations listed if the generator is multi-config. Fix the implementation to actually do that. Fixes: #21316
* CTest: exit nonzero after message(SEND_ERROR|FATAL_ERROR)Kevin Puetz2020-08-261-0/+9
| | | | Fixes: #21004
* Add CMAKE_CTEST_ARGUMENTS variable to pass command-line arguments to ctestRobert Goulet2020-01-151-0/+13
| | | | Fixes: #20172
* Revert "Remove CTestTestfile.cmake when BUILD_TESTING is OFF"Brad King2018-03-261-0/+2
| | | | | | | | | | | | | Revert commit v3.8.0-rc1~305^2 (Remove CTestTestfile.cmake when BUILD_TESTING is OFF, 2016-11-14) again. We reverted it once in commit v3.8.0-rc3~22^2 (Revert "Remove CTestTestfile.cmake when BUILD_TESTING is OFF", 2017-03-06) but it was accidentally restored by commit v3.11.0-rc1~387^2 (server: add "ctestInfo" request to get test info, 2017-10-25), perhaps due to conflict resolution during rebase. We cannot remove `CTestTestfile.cmake` when testing is off because it breaks projects that never enable testing but create their own `CTestTestfile.cmake` manually instead. Revert the change again and add a test case.
* CTest: Fail early without PROJECT_BINARY_DIR (#14005)Brad King2013-03-121-0/+5
Do not use PROJECT_BINARY_DIR before it is defined. If it is not defined when needed, fail with an error message suggesting that the project() command be invoked first.