diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-06-23 13:07:03 -0400 |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-06-23 13:07:03 -0400 |
commit | b60d8a76405847e6d693f667351326a3fd11981a (patch) | |
tree | 7f8bc4e65b4897814fedf0a202c9e214eca2bee9 /Tests/CTestTest3 | |
parent | 1b578d3180ce60976e4cbe928fce988acfd0da39 (diff) | |
download | cmake-b60d8a76405847e6d693f667351326a3fd11981a.tar.gz |
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 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}") |