|
|
|
include(RunCMake)
|
|
|
|
|
|
|
|
run_cmake(InvalidArgument1)
|
|
|
|
run_cmake(exists)
|
|
|
|
if(NOT MSYS)
|
|
|
|
# permissions and symbolic links are broken on MSYS
|
|
|
|
# if real user is root, tests are irrelevant
|
|
|
|
get_unix_uid(uid)
|
|
|
|
if(NOT uid STREQUAL "0")
|
|
|
|
run_cmake(FilePermissions)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
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)
|
|
|
|
|
|
|
|
run_cmake_script(AndOr)
|