mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-26 18:58:34 -06:00
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.
25 lines
566 B
CMake
25 lines
566 B
CMake
include(RunCMake)
|
|
|
|
run_cmake(EmptyGet0)
|
|
run_cmake(EmptyRemoveAt0)
|
|
run_cmake(EmptyInsert-1)
|
|
|
|
run_cmake(NoArguments)
|
|
run_cmake(InvalidSubcommand)
|
|
run_cmake(GET-CMP0007-WARN)
|
|
|
|
run_cmake(GET-InvalidIndex)
|
|
run_cmake(INSERT-InvalidIndex)
|
|
run_cmake(REMOVE_AT-InvalidIndex)
|
|
|
|
run_cmake(LENGTH-TooManyArguments)
|
|
run_cmake(REMOVE_DUPLICATES-TooManyArguments)
|
|
run_cmake(REVERSE-TooManyArguments)
|
|
run_cmake(SORT-TooManyArguments)
|
|
|
|
run_cmake(REMOVE_AT-NotList)
|
|
run_cmake(REMOVE_DUPLICATES-NotList)
|
|
run_cmake(REMOVE_ITEM-NotList)
|
|
run_cmake(REVERSE-NotList)
|
|
run_cmake(SORT-NotList)
|