summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/while/RunCMakeTest.cmake
Commit message (Collapse)AuthorAgeFilesLines
* while: diagnose errors during condition evaluationBrad King2022-03-041-1/+3
| | | | | | Add a policy to diagnose condition errors in a compatible way. Fixes: #23296
* Fix: Regression in the `cmConditionEvaluator::HandleLevel0`Alex Turbov2021-08-091-0/+2
| | | | | | | | As reported in the BUG #22524, mismatched parenthesis reported differently for `while()` and `if()`. The problem was in the double loop (over "handlers" and the arguments), where the outer loop didn't check the result of the running handler.
* Tests: Move command failure cases into RunCMake infrastructureBrad King2015-07-141-0/+7
Move failure cases from the CMake.{If,List,While,GetProperty} tests over to the RunCMake.{if,list,while,get_property} tests to use the more modern infrastructure. This also avoids using REGEX_ESCAPE_STRING to try to regex-match full paths.