summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-23 17:07:03 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-23 17:07:03 (GMT)
commitb60d8a76405847e6d693f667351326a3fd11981a (patch)
tree7f8bc4e65b4897814fedf0a202c9e214eca2bee9 /Tests
parent1b578d3180ce60976e4cbe928fce988acfd0da39 (diff)
downloadCMake-b60d8a76405847e6d693f667351326a3fd11981a.zip
CMake-b60d8a76405847e6d693f667351326a3fd11981a.tar.gz
CMake-b60d8a76405847e6d693f667351326a3fd11981a.tar.bz2
ENH: Perform second test if subversion exists
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CTestTest3/test.cmake.in5
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}")