diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-06-23 17:07:03 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-06-23 17:07:03 (GMT) |
commit | b60d8a76405847e6d693f667351326a3fd11981a (patch) | |
tree | 7f8bc4e65b4897814fedf0a202c9e214eca2bee9 /Tests/CTestTest3 | |
parent | 1b578d3180ce60976e4cbe928fce988acfd0da39 (diff) | |
download | CMake-b60d8a76405847e6d693f667351326a3fd11981a.zip CMake-b60d8a76405847e6d693f667351326a3fd11981a.tar.gz CMake-b60d8a76405847e6d693f667351326a3fd11981a.tar.bz2 |
ENH: Perform second test if subversion exists
Diffstat (limited to 'Tests/CTestTest3')
-rw-r--r-- | Tests/CTestTest3/test.cmake.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Tests/CTestTest3/test.cmake.in b/Tests/CTestTest3/test.cmake.in index d3e3b02..b34394d 100644 --- a/Tests/CTestTest3/test.cmake.in +++ b/Tests/CTestTest3/test.cmake.in @@ -50,7 +50,8 @@ CTEST_MEMCHECK(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res) CTEST_COVERAGE(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res) CTEST_SUBMIT(RETURN_VALUE res) -IF(foo) +SET(svncommand "@SVNCOMMAND@") +IF("${svncommand}") # Project 2 PROJECT_START("KWSys from SVN") @@ -93,4 +94,4 @@ CTEST_MEMCHECK(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res) CTEST_COVERAGE(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res) CTEST_SUBMIT(RETURN_VALUE res) -ENDIF(foo) +ENDIF("${svncommand}") |