100-no-testing.patch 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. --- a/Modules/CTest.cmake
  2. +++ b/Modules/CTest.cmake
  3. @@ -47,7 +47,7 @@ the :variable:`CTEST_USE_LAUNCHERS` vari
  4. in the ``CTestConfig.cmake`` file.
  5. #]=======================================================================]
  6. -option(BUILD_TESTING "Build the testing tree." ON)
  7. +option(BUILD_TESTING "Build the testing tree." OFF)
  8. # function to turn generator name into a version string
  9. # like vs9 or vs10
  10. --- a/Modules/Dart.cmake
  11. +++ b/Modules/Dart.cmake
  12. @@ -33,7 +33,7 @@ whether testing support should be enable
  13. #
  14. #
  15. -option(BUILD_TESTING "Build the testing tree." ON)
  16. +option(BUILD_TESTING "Build the testing tree." OFF)
  17. if(BUILD_TESTING)
  18. find_package(Dart QUIET)
  19. --- a/Tests/Contracts/VTK/Dashboard.cmake.in
  20. +++ b/Tests/Contracts/VTK/Dashboard.cmake.in
  21. @@ -25,7 +25,7 @@ ctest_empty_binary_directory(${CTEST_BIN
  22. file(WRITE "${CTEST_BINARY_DIRECTORY}/CMakeCache.txt" "
  23. VTK_BUILD_EXAMPLES:BOOL=ON
  24. - VTK_BUILD_TESTING:STRING=WANT
  25. + VTK_BUILD_TESTING:STRING=OFF
  26. VTK_WRAP_PYTHON:BOOL=ON
  27. ExternalData_OBJECT_STORES:FILEPATH=@base_dir@/ExternalData
  28. ")