/[gentoo-x86]/dev-util/cmake/files/cmake-2.8.9-tests.patch
Gentoo

Contents of /dev-util/cmake/files/cmake-2.8.9-tests.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Nov 18 13:40:15 2012 UTC (21 months ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Version bump, remove old.

(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C)

1 Removes the following tests:
2
3 - DeployQt4, which tries to break sandbox and ignores prefix
4 - CTest.updatecvs, which fails to commit as root
5 - TestUpload, which requires network access
6
7 --- Tests/CMakeLists.txt
8 +++ Tests/CMakeLists.txt
9 @@ -273,23 +273,6 @@
10 )
11 LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/BundleUtilities")
12
13 - # run test for DeployQt4 on supported platforms/compilers (which depends on BundleUtilities)
14 - # this test also depends on the existence of the standard qtiff plugin
15 - if(QT4_WORKS AND QT_QTSQL_FOUND)
16 - ADD_TEST(Qt4Deploy ${CMAKE_CTEST_COMMAND}
17 - --build-and-test
18 - "${CMake_SOURCE_DIR}/Tests/Qt4Deploy"
19 - "${CMake_BINARY_DIR}/Tests/Qt4Deploy"
20 - --build-generator ${CMAKE_TEST_GENERATOR}
21 - --build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
22 - --build-project Qt4Deploy
23 - --build-options
24 - -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
25 - -DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE}
26 - )
27 - LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Qt4Deploy")
28 - endif()
29 -
30 endif()
31 endif()
32
33 @@ -1582,30 +1565,6 @@
34 LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/${CTestUpdateSVN_DIR}")
35 ENDIF(Subversion_FOUND)
36
37 - # Test CTest Update with CVS
38 - IF(EXISTS ${CMAKE_ROOT}/Modules/FindCVS.cmake)
39 - FIND_PACKAGE(CVS QUIET)
40 - ELSE(EXISTS ${CMAKE_ROOT}/Modules/FindCVS.cmake)
41 - FIND_PROGRAM(CVS_EXECUTABLE NAMES cvs)
42 - SET(CVS_FOUND ${CVS_EXECUTABLE})
43 - ENDIF(EXISTS ${CMAKE_ROOT}/Modules/FindCVS.cmake)
44 - SET(CTEST_TEST_UPDATE_CVS ${CVS_FOUND})
45 - IF(CTEST_TEST_UPDATE_CVS AND NOT UNIX)
46 - IF("${CVS_EXECUTABLE}" MATCHES "cygwin")
47 - MESSAGE(STATUS "No CTest.UpdateCVS test with cygwin cvs.exe outside cygwin!")
48 - SET(CTEST_TEST_UPDATE_CVS 0)
49 - ENDIF("${CVS_EXECUTABLE}" MATCHES "cygwin")
50 - ENDIF(CTEST_TEST_UPDATE_CVS AND NOT UNIX)
51 - IF(CTEST_TEST_UPDATE_CVS)
52 - SET(CTestUpdateCVS_DIR "CTest UpdateCVS")
53 - CONFIGURE_FILE("${CMake_SOURCE_DIR}/Tests/CTestUpdateCVS.cmake.in"
54 - "${CMake_BINARY_DIR}/Tests/CTestUpdateCVS.cmake" @ONLY)
55 - ADD_TEST(CTest.UpdateCVS ${CMAKE_CMAKE_COMMAND}
56 - -P "${CMake_BINARY_DIR}/Tests/CTestUpdateCVS.cmake"
57 - )
58 - LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/${CTestUpdateCVS_DIR}")
59 - ENDIF(CTEST_TEST_UPDATE_CVS)
60 -
61 # Test CTest Update with BZR
62 FIND_PROGRAM(BZR_EXECUTABLE NAMES bzr)
63 MARK_AS_ADVANCED(BZR_EXECUTABLE)
64 @@ -1701,17 +1660,6 @@
65 FAIL_REGULAR_EXPRESSION "SegFault")
66
67 CONFIGURE_FILE(
68 - "${CMake_SOURCE_DIR}/Tests/CTestTestUpload/test.cmake.in"
69 - "${CMake_BINARY_DIR}/Tests/CTestTestUpload/test.cmake"
70 - @ONLY ESCAPE_QUOTES)
71 - ADD_TEST(CTestTestUpload ${CMAKE_CTEST_COMMAND}
72 - -S "${CMake_BINARY_DIR}/Tests/CTestTestUpload/test.cmake" -V
73 - --output-log "${CMake_BINARY_DIR}/Tests/CTestTestUpload/testOut.log"
74 - )
75 - SET_TESTS_PROPERTIES(CTestTestUpload PROPERTIES
76 - PASS_REGULAR_EXPRESSION "Upload\\.xml")
77 -
78 - CONFIGURE_FILE(
79 "${CMake_SOURCE_DIR}/Tests/CTestTestConfigFileInBuildDir/test1.cmake.in"
80 "${CMake_BINARY_DIR}/Tests/CTestTestConfigFileInBuildDir1/test1.cmake"
81 @ONLY ESCAPE_QUOTES)

  ViewVC Help
Powered by ViewVC 1.1.20