diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2011-11-01 17:38:52 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2011-12-05 16:49:31 (GMT) |
commit | f529ddcea0228e6919ef09af8d7d8afa7f1e7c19 (patch) | |
tree | a953a0ddae2c0b8a4dabe59b65d5e04da5642b9e /Tests/ExternalProject | |
parent | e0bc42aa4ff086e9c6976ab91ba924530df0bf72 (diff) | |
download | CMake-f529ddcea0228e6919ef09af8d7d8afa7f1e7c19.zip CMake-f529ddcea0228e6919ef09af8d7d8afa7f1e7c19.tar.gz CMake-f529ddcea0228e6919ef09af8d7d8afa7f1e7c19.tar.bz2 |
Tests: ExternalProject: Remove unnecessary 'svn --version' call
This test will fail to get a proper version number if running on a (e.g.
German) localized system because the regular expression used to match the
Subversion version output does not match. Instead of duplicating code just
remove the local test altogether and use the version that FindSubversion.cmake
already detects.
Diffstat (limited to 'Tests/ExternalProject')
-rw-r--r-- | Tests/ExternalProject/CMakeLists.txt | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Tests/ExternalProject/CMakeLists.txt b/Tests/ExternalProject/CMakeLists.txt index 4a542d7..ac70129 100644 --- a/Tests/ExternalProject/CMakeLists.txt +++ b/Tests/ExternalProject/CMakeLists.txt @@ -343,13 +343,6 @@ endif() # Only do svn tests with svn >= version 1.2 # if(do_svn_tests) - execute_process(COMMAND ${Subversion_SVN_EXECUTABLE} --version - OUTPUT_VARIABLE Subversion_VERSION_SVN - OUTPUT_STRIP_TRAILING_WHITESPACE) - string(REGEX REPLACE "^(.*\n)?svn, version ([.0-9]+).*" - "\\2" Subversion_VERSION_SVN "${Subversion_VERSION_SVN}") - message(STATUS "Subversion_VERSION_SVN='${Subversion_VERSION_SVN}'") - if(Subversion_VERSION_SVN VERSION_LESS 1.2) message(STATUS "No ExternalProject svn tests with svn client less than version 1.2") set(do_svn_tests 0) |