From 836449800d8b0a0ae4bb970370338313fe09c9ed Mon Sep 17 00:00:00 2001 From: Stephen Roderick Date: Sat, 23 Apr 2011 08:26:06 -0400 Subject: [PATCH 4/5] Fixes #836: Test timeout ignored by ctest --- tests/CMakeLists.txt | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 1a5fd1a..5ef1588 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -138,6 +138,11 @@ IF (BUILD_TESTING) list(APPEND ORO_EXTRA_TESTS "corba-test") ENDIF(ENABLE_CORBA) + # link to root build dir, to pick up CTest options when run from this dir + EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink + ${CMAKE_BINARY_DIR}/DartConfiguration.tcl + ${CMAKE_CURRENT_BINARY_DIR}/DartConfiguration.tcl) + ADD_CUSTOM_TARGET(check ctest -V DEPENDS main-test core-test task-test event-test taskcontext-test parser-test program-test state-test dev-test ${ORO_EXTRA_TESTS} WORKING_DIRECTORY "${RUNTIME_OUTPUT_DIRECTORY}") -- 1.7.4.4