summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/if/TestNameThatExists.cmake
Commit message (Collapse)AuthorAgeFilesLines
* if: Add "TEST <test>" conditionMatt McCormick2015-08-031-0/+7
if(TEST TestNameThatExists) will return true if a test with the name TestNameThatExists has been added with add_test. The syntax is similar to if(TARGET TargetName). Since use of "TEST" as an argument to if() could previously be interpreted as a non-keyword argument, add policy CMP0064 to treat it as a keyword as NEW behavior.