aboutsummaryrefslogtreecommitdiffstats
path: root/tools/cmake/patches/100-no-testing.patch
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-04-05 15:38:32 -0700
committerHans Dedecker <dedeckeh@gmail.com>2020-04-06 20:30:18 +0200
commit8af80e79bd5b750bf9a5ab01a6ecdb3971248bae (patch)
treeef68eb881b3fd334cc3653df3bf5fc621600ebf8 /tools/cmake/patches/100-no-testing.patch
parenta0d14510884e6549a1637f69b0bb7325b280aff8 (diff)
downloadupstream-8af80e79bd5b750bf9a5ab01a6ecdb3971248bae.tar.gz
upstream-8af80e79bd5b750bf9a5ab01a6ecdb3971248bae.tar.bz2
upstream-8af80e79bd5b750bf9a5ab01a6ecdb3971248bae.zip
tools/cmake: update to 3.17.0
Remove libressl patches; they are no longer needed as LibreSSl adde support Replace qt tests patch with one that disables all of them. Refresh remaining one. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'tools/cmake/patches/100-no-testing.patch')
-rw-r--r--tools/cmake/patches/100-no-testing.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/tools/cmake/patches/100-no-testing.patch b/tools/cmake/patches/100-no-testing.patch
new file mode 100644
index 0000000000..501302b835
--- /dev/null
+++ b/tools/cmake/patches/100-no-testing.patch
@@ -0,0 +1,33 @@
+--- a/Modules/CTest.cmake
++++ b/Modules/CTest.cmake
+@@ -47,7 +47,7 @@ the :variable:`CTEST_USE_LAUNCHERS` variable::
+ in the ``CTestConfig.cmake`` file.
+ #]=======================================================================]
+
+-option(BUILD_TESTING "Build the testing tree." ON)
++option(BUILD_TESTING "Build the testing tree." OFF)
+
+ # function to turn generator name into a version string
+ # like vs9 or vs10
+--- a/Modules/Dart.cmake
++++ b/Modules/Dart.cmake
+@@ -33,7 +33,7 @@ whether testing support should be enabled. The default is ON.
+ #
+ #
+
+-option(BUILD_TESTING "Build the testing tree." ON)
++option(BUILD_TESTING "Build the testing tree." OFF)
+
+ if(BUILD_TESTING)
+ find_package(Dart QUIET)
+--- a/Tests/Contracts/VTK/Dashboard.cmake.in
++++ b/Tests/Contracts/VTK/Dashboard.cmake.in
+@@ -25,7 +25,7 @@ ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
+
+ file(WRITE "${CTEST_BINARY_DIRECTORY}/CMakeCache.txt" "
+ BUILD_EXAMPLES:BOOL=ON
+- BUILD_TESTING:BOOL=ON
++ BUILD_TESTING:BOOL=OFF
+ VTK_WRAP_PYTHON:BOOL=ON
+ ExternalData_OBJECT_STORES:FILEPATH=@base_dir@/ExternalData
+ ")