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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue May 21 18:19:35 2013 UTC (19 months ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.0_alpha176/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)

1 Remove DeployQt4 test, which tries to break sandbox and ignores prefix, and CTest.updatecvs, which fails to commit as root
2 --- cmake-2.8.8/Tests/CMakeLists.txt
3 +++ cmake-2.8.8/Tests/CMakeLists.txt
4 @@ -273,23 +273,6 @@
5 )
6 LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/BundleUtilities")
7
8 - # run test for DeployQt4 on supported platforms/compilers (which depends on BundleUtilities)
9 - # this test also depends on the existence of the standard qtiff plugin
10 - if(QT4_WORKS AND QT_QTSQL_FOUND)
11 - ADD_TEST(Qt4Deploy ${CMAKE_CTEST_COMMAND}
12 - --build-and-test
13 - "${CMake_SOURCE_DIR}/Tests/Qt4Deploy"
14 - "${CMake_BINARY_DIR}/Tests/Qt4Deploy"
15 - --build-generator ${CMAKE_TEST_GENERATOR}
16 - --build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
17 - --build-project Qt4Deploy
18 - --build-options
19 - -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
20 - -DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE}
21 - )
22 - LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Qt4Deploy")
23 - endif()
24 -
25 endif()
26 endif()
27
28 @@ -1548,30 +1531,6 @@
29 LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/${CTestUpdateSVN_DIR}")
30 ENDIF(Subversion_FOUND)
31
32 - # Test CTest Update with CVS
33 - IF(EXISTS ${CMAKE_ROOT}/Modules/FindCVS.cmake)
34 - FIND_PACKAGE(CVS QUIET)
35 - ELSE(EXISTS ${CMAKE_ROOT}/Modules/FindCVS.cmake)
36 - FIND_PROGRAM(CVS_EXECUTABLE NAMES cvs)
37 - SET(CVS_FOUND ${CVS_EXECUTABLE})
38 - ENDIF(EXISTS ${CMAKE_ROOT}/Modules/FindCVS.cmake)
39 - SET(CTEST_TEST_UPDATE_CVS ${CVS_FOUND})
40 - IF(CTEST_TEST_UPDATE_CVS AND NOT UNIX)
41 - IF("${CVS_EXECUTABLE}" MATCHES "cygwin")
42 - MESSAGE(STATUS "No CTest.UpdateCVS test with cygwin cvs.exe outside cygwin!")
43 - SET(CTEST_TEST_UPDATE_CVS 0)
44 - ENDIF("${CVS_EXECUTABLE}" MATCHES "cygwin")
45 - ENDIF(CTEST_TEST_UPDATE_CVS AND NOT UNIX)
46 - IF(CTEST_TEST_UPDATE_CVS)
47 - SET(CTestUpdateCVS_DIR "CTest UpdateCVS")
48 - CONFIGURE_FILE("${CMake_SOURCE_DIR}/Tests/CTestUpdateCVS.cmake.in"
49 - "${CMake_BINARY_DIR}/Tests/CTestUpdateCVS.cmake" @ONLY)
50 - ADD_TEST(CTest.UpdateCVS ${CMAKE_CMAKE_COMMAND}
51 - -P "${CMake_BINARY_DIR}/Tests/CTestUpdateCVS.cmake"
52 - )
53 - LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/${CTestUpdateCVS_DIR}")
54 - ENDIF(CTEST_TEST_UPDATE_CVS)
55 -
56 # Test CTest Update with BZR
57 FIND_PROGRAM(BZR_EXECUTABLE NAMES bzr)
58 MARK_AS_ADVANCED(BZR_EXECUTABLE)

  ViewVC Help
Powered by ViewVC 1.1.20