RunCMakeTest.cmake 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. include(RunCMake)
  2. run_cmake(DOWNLOAD-hash-mismatch)
  3. run_cmake(DOWNLOAD-unused-argument)
  4. run_cmake(DOWNLOAD-httpheader-not-set)
  5. run_cmake(DOWNLOAD-pass-not-set)
  6. run_cmake(UPLOAD-unused-argument)
  7. run_cmake(UPLOAD-httpheader-not-set)
  8. run_cmake(UPLOAD-pass-not-set)
  9. run_cmake(INSTALL-DIRECTORY)
  10. run_cmake(INSTALL-MESSAGE-bad)
  11. run_cmake(FileOpenFailRead)
  12. run_cmake(LOCK)
  13. run_cmake(LOCK-error-file-create-fail)
  14. run_cmake(LOCK-error-guard-incorrect)
  15. run_cmake(LOCK-error-incorrect-timeout)
  16. run_cmake(LOCK-error-incorrect-timeout-trail)
  17. run_cmake(LOCK-error-lock-fail)
  18. run_cmake(LOCK-error-negative-timeout)
  19. run_cmake(LOCK-error-no-function)
  20. run_cmake(LOCK-error-no-guard)
  21. run_cmake(LOCK-error-no-path)
  22. run_cmake(LOCK-error-no-result-variable)
  23. run_cmake(LOCK-error-no-timeout)
  24. run_cmake(LOCK-error-timeout)
  25. run_cmake(LOCK-error-unknown-option)
  26. run_cmake(GLOB)
  27. run_cmake(GLOB_RECURSE)
  28. # test is valid both for GLOB and GLOB_RECURSE
  29. run_cmake(GLOB-error-LIST_DIRECTORIES-not-boolean)
  30. # test is valid both for GLOB and GLOB_RECURSE
  31. run_cmake(GLOB-error-LIST_DIRECTORIES-no-arg)
  32. if(NOT WIN32 OR CYGWIN)
  33. run_cmake(GLOB_RECURSE-cyclic-recursion)
  34. endif()