From 57a9f58c654399233999af05e01ab766b290178e Mon Sep 17 00:00:00 2001 From: maier Date: Sun, 29 Sep 2013 19:56:02 +0000 Subject: [PATCH] Make Wolfgang happy ;-) git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31014 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/submit_results.cmake | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/submit_results.cmake b/tests/submit_results.cmake index 31128fa1c7..f3d2b416f2 100644 --- a/tests/submit_results.cmake +++ b/tests/submit_results.cmake @@ -30,10 +30,17 @@ IF("${CTEST_SOURCE_DIRECTORY}" STREQUAL "") GET_FILENAME_COMPONENT(_path "${CMAKE_CURRENT_LIST_DIR}" PATH) SET(CTEST_SOURCE_DIRECTORY ${_path}/deal.II) + IF(NOT EXISTS ${CTEST_SOURCE_DIRECTORY}/CTestConfig.cmake) + SET(CTEST_SOURCE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) + ENDIF() ENDIF() +MESSAGE("-- CTEST_SOURCE_DIRECTORY: ${CTEST_SOURCE_DIRECTORY}") + SET(CTEST_BINARY_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) +MESSAGE("-- CTEST_BINARY_DIRECTORY: ${CTEST_BINARY_DIRECTORY}") + FILE(STRINGS ${CTEST_BINARY_DIRECTORY}/Testing/TAG _tag) LIST(GET _tag 1 _track) -- 2.39.5