summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CTest/CTestTestfile.cmake.in
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Remove CTestTestfile.cmake when BUILD_TESTING is OFF"Brad King2018-03-261-0/+1
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.