BUG: Downgrade svn repository to be created with an svn 1.2 installation (rather than 1.4) so that it works (hopefully) with more svn clients in the wild. Change time stamps of test projects in CMakeLists.txt to reflect times available in newly created repository. Add UPDATE_COMMAND "" for checkouts that are tag-based or date-stamp-based to avoid unnecessary update steps.

This commit is contained in:
David Cole 2009-06-26 13:00:39 -04:00
parent 798024bebf
commit 0e6c530e9e
2 changed files with 13 additions and 11 deletions

View File

@ -135,14 +135,14 @@ if(CVS_EXECUTABLE)
# CVS by date stamp: # CVS by date stamp:
# #
set(proj TutorialStep1-CVS-20090625) set(proj TutorialStep1-CVS-20090626)
ep_add(${proj} ep_add(${proj}
CVS_REPOSITORY "${local_cvs_repo}" CVS_REPOSITORY "${local_cvs_repo}"
CVS_MODULE "TutorialStep1" CVS_MODULE "TutorialStep1"
CVS_TAG "-D2009-06-25 16:00:00 UTC" CVS_TAG "-D2009-06-26 16:50:00 UTC"
UPDATE_COMMAND ""
CMAKE_GENERATOR "${CMAKE_GENERATOR}" CMAKE_GENERATOR "${CMAKE_GENERATOR}"
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR> CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
UPDATE_COMMAND ""
INSTALL_COMMAND "" INSTALL_COMMAND ""
DEPENDS "SetupLocalCVSRepository" DEPENDS "SetupLocalCVSRepository"
) )
@ -154,9 +154,9 @@ if(CVS_EXECUTABLE)
CVS_REPOSITORY "${local_cvs_repo}" CVS_REPOSITORY "${local_cvs_repo}"
CVS_MODULE "TutorialStep1" CVS_MODULE "TutorialStep1"
CVS_TAG -rtesttag1 CVS_TAG -rtesttag1
UPDATE_COMMAND ""
CMAKE_GENERATOR "${CMAKE_GENERATOR}" CMAKE_GENERATOR "${CMAKE_GENERATOR}"
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR> CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
UPDATE_COMMAND ""
INSTALL_COMMAND "" INSTALL_COMMAND ""
DEPENDS "SetupLocalCVSRepository" DEPENDS "SetupLocalCVSRepository"
) )
@ -176,7 +176,7 @@ if(CVS_EXECUTABLE)
DEPENDS "TutorialStep1-LocalNoDirTAR" DEPENDS "TutorialStep1-LocalNoDirTAR"
DEPENDS "TutorialStep1-LocalTGZ" DEPENDS "TutorialStep1-LocalTGZ"
DEPENDS "TutorialStep1-LocalNoDirTGZ" DEPENDS "TutorialStep1-LocalNoDirTGZ"
DEPENDS "TutorialStep1-CVS-20090625" DEPENDS "TutorialStep1-CVS-20090626"
DEPENDS "TutorialStep1-CVS-testtag1" DEPENDS "TutorialStep1-CVS-testtag1"
) )
endif() endif()
@ -199,10 +199,11 @@ if(Subversion_SVN_EXECUTABLE)
# SVN by date stamp: # SVN by date stamp:
# #
set(proj TutorialStep1-SVN-20090625) set(proj TutorialStep1-SVN-20090626)
ep_add(${proj} ep_add(${proj}
SVN_REPOSITORY "${local_svn_repo_url}" SVN_REPOSITORY "${local_svn_repo_url}"
SVN_TAG "-r{2009-06-25 16:00:00 +0000}" SVN_TAG "-r{2009-06-26 16:50:00 +0000}"
UPDATE_COMMAND ""
CMAKE_GENERATOR "${CMAKE_GENERATOR}" CMAKE_GENERATOR "${CMAKE_GENERATOR}"
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR> CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
INSTALL_COMMAND "" INSTALL_COMMAND ""
@ -215,6 +216,7 @@ if(Subversion_SVN_EXECUTABLE)
ep_add(${proj} ep_add(${proj}
SVN_REPOSITORY "${local_svn_repo_url}" SVN_REPOSITORY "${local_svn_repo_url}"
SVN_TAG "-r2" SVN_TAG "-r2"
UPDATE_COMMAND ""
CMAKE_GENERATOR "${CMAKE_GENERATOR}" CMAKE_GENERATOR "${CMAKE_GENERATOR}"
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR> CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
INSTALL_COMMAND "" INSTALL_COMMAND ""
@ -262,8 +264,8 @@ add_test(TutorialStep1-LocalNoDirTGZ-BuildTreeTest
"${binary_base}/TutorialStep1-LocalNoDirTGZ/Tutorial" 9) "${binary_base}/TutorialStep1-LocalNoDirTGZ/Tutorial" 9)
if(CVS_EXECUTABLE) if(CVS_EXECUTABLE)
add_test(TutorialStep1-CVS-20090625-BuildTreeTest add_test(TutorialStep1-CVS-20090626-BuildTreeTest
"${binary_base}/TutorialStep1-CVS-20090625/Tutorial" 4) "${binary_base}/TutorialStep1-CVS-20090626/Tutorial" 4)
add_test(TutorialStep1-CVS-testtag1-BuildTreeTest add_test(TutorialStep1-CVS-testtag1-BuildTreeTest
"${binary_base}/TutorialStep1-CVS-testtag1/Tutorial" 64) "${binary_base}/TutorialStep1-CVS-testtag1/Tutorial" 64)
@ -273,8 +275,8 @@ if(CVS_EXECUTABLE)
endif() endif()
if(Subversion_SVN_EXECUTABLE) if(Subversion_SVN_EXECUTABLE)
add_test(TutorialStep1-SVN-20090625-BuildTreeTest add_test(TutorialStep1-SVN-20090626-BuildTreeTest
"${binary_base}/TutorialStep1-SVN-20090625/Tutorial" 100) "${binary_base}/TutorialStep1-SVN-20090626/Tutorial" 100)
add_test(TutorialStep1-SVN-r2-BuildTreeTest add_test(TutorialStep1-SVN-r2-BuildTreeTest
"${binary_base}/TutorialStep1-SVN-r2/Tutorial" 99) "${binary_base}/TutorialStep1-SVN-r2/Tutorial" 99)

Binary file not shown.