Files
CMake/Tests/RunCMake/while/RunCMakeTest.cmake
Alex Turbov 61b33c3f4e Fix: Regression in the cmConditionEvaluator::HandleLevel0
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.
2021-08-09 21:05:09 +03:00

10 lines
170 B
CMake

include(RunCMake)
run_cmake(MissingArgument)
run_cmake(EndMissing)
run_cmake(EndMismatch)
run_cmake(EndAlone)
run_cmake(EndAloneArgs)
run_cmake(unbalanced-parenthesis)