openbsd-ports/devel/cmake/patches/patch-Tests_CMakeLists_txt
dcoppa a056eca19b Update to cmake-2.8.10.1 (plus some fixes)
Thanks Vadim, landry@

OK landry@
2012-11-15 08:43:25 +00:00

25 lines
1.0 KiB
Plaintext

$OpenBSD: patch-Tests_CMakeLists_txt,v 1.4 2012/11/15 08:43:25 dcoppa Exp $
Disable CTestTestUpload test because it requires Internet access.
--- Tests/CMakeLists.txt.orig Tue Nov 13 14:03:57 2012
+++ Tests/CMakeLists.txt Tue Nov 13 14:04:56 2012
@@ -1707,17 +1707,6 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CM
FAIL_REGULAR_EXPRESSION "SegFault")
configure_file(
- "${CMake_SOURCE_DIR}/Tests/CTestTestUpload/test.cmake.in"
- "${CMake_BINARY_DIR}/Tests/CTestTestUpload/test.cmake"
- @ONLY ESCAPE_QUOTES)
- add_test(CTestTestUpload ${CMAKE_CTEST_COMMAND}
- -S "${CMake_BINARY_DIR}/Tests/CTestTestUpload/test.cmake" -V
- --output-log "${CMake_BINARY_DIR}/Tests/CTestTestUpload/testOut.log"
- )
- set_tests_properties(CTestTestUpload PROPERTIES
- PASS_REGULAR_EXPRESSION "Upload\\.xml")
-
- configure_file(
"${CMake_SOURCE_DIR}/Tests/CTestTestConfigFileInBuildDir/test1.cmake.in"
"${CMake_BINARY_DIR}/Tests/CTestTestConfigFileInBuildDir1/test1.cmake"
@ONLY ESCAPE_QUOTES)