summaryrefslogtreecommitdiff
path: root/Tests/CTestTest3
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-23 13:07:03 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-23 13:07:03 -0400
commitb60d8a76405847e6d693f667351326a3fd11981a (patch)
tree7f8bc4e65b4897814fedf0a202c9e214eca2bee9 /Tests/CTestTest3
parent1b578d3180ce60976e4cbe928fce988acfd0da39 (diff)
downloadcmake-b60d8a76405847e6d693f667351326a3fd11981a.tar.gz
ENH: Perform second test if subversion exists
Diffstat (limited to 'Tests/CTestTest3')
-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 d3e3b021ec..b34394dc7e 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}")