mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
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.
20 lines
435 B
CMake
20 lines
435 B
CMake
include(RunCMake)
|
|
|
|
run_cmake(InvalidArgument1)
|
|
run_cmake(IsDirectory)
|
|
run_cmake(IsDirectoryLong)
|
|
run_cmake(duplicate-deep-else)
|
|
run_cmake(duplicate-else)
|
|
run_cmake(duplicate-else-after-elseif)
|
|
run_cmake(elseif-message)
|
|
run_cmake(misplaced-elseif)
|
|
|
|
run_cmake(unbalanced-parenthesis)
|
|
|
|
run_cmake(MatchesSelf)
|
|
run_cmake(IncompleteMatches)
|
|
run_cmake(IncompleteMatchesFail)
|
|
|
|
run_cmake(TestNameThatExists)
|
|
run_cmake(TestNameThatDoesNotExist)
|