aboutsummaryrefslogtreecommitdiff
path: root/tests/ctest-default.cmake
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-21 14:08:40 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-21 14:08:40 +0200
commit859ed8583c43a1f9ebc242763fa53864fd01a26f (patch)
tree27d329bddbd05a0b54b8614b6351a7ef19a856e1 /tests/ctest-default.cmake
parent1b57445f6b9c850a97e69a122537e918de0e02c5 (diff)
downloadlibssh-859ed8583c43a1f9ebc242763fa53864fd01a26f.tar.gz
libssh-859ed8583c43a1f9ebc242763fa53864fd01a26f.tar.xz
libssh-859ed8583c43a1f9ebc242763fa53864fd01a26f.zip
ctest: Fix the ctest build script.
Diffstat (limited to 'tests/ctest-default.cmake')
-rw-r--r--tests/ctest-default.cmake12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/ctest-default.cmake b/tests/ctest-default.cmake
index f88d76f..b557c6a 100644
--- a/tests/ctest-default.cmake
+++ b/tests/ctest-default.cmake
@@ -58,14 +58,14 @@ set(CTEST_CONFIGURE_COMMAND "${CTEST_CONFIGURE_COMMAND} \"${CTEST_SOURCE_DIRECTO
ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
ctest_start(${CTEST_MODEL} TRACK ${CTEST_MODEL})
-ctest_update()
-ctest_configure()
-ctest_build()
-ctest_test()
+ctest_update(SOURCE ${CTEST_SOURCE_DIRECTORY})
+ctest_configure(BUILD ${CTEST_BINARY_DIRECTORY})
+ctest_build(BUILD ${CTEST_BINARY_DIRECTORY})
+ctest_test(BUILD ${CTEST_BINARY_DIRECTORY})
if (WITH_MEMCHECK AND CTEST_COVERAGE_COMMAND)
- ctest_coverage()
+ ctest_coverage(BUILD ${CTEST_BINARY_DIRECTORY})
endif (WITH_MEMCHECK AND CTEST_COVERAGE_COMMAND)
if (WITH_MEMCHECK AND CTEST_MEMORYCHECK_COMMAND)
- ctest_memcheck()
+ ctest_memcheck(BUILD ${CTEST_BINARY_DIRECTORY})
endif (WITH_MEMCHECK AND CTEST_MEMORYCHECK_COMMAND)
ctest_submit()