From b60d8a76405847e6d693f667351326a3fd11981a Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 23 Jun 2005 13:07:03 -0400 Subject: ENH: Perform second test if subversion exists --- Tests/CTestTest3/test.cmake.in | 5 +++-- 1 file 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}") -- cgit v0.12