From: Matthias Maier Date: Sun, 29 Sep 2013 19:56:02 +0000 (+0000) Subject: Make Wolfgang happy ;-) X-Git-Tag: v8.1.0~570^2~157 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8af2f566abe2637176097e1d4b860bcaa648d62c;p=dealii.git Make Wolfgang happy ;-) git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31014 0785d39b-7218-0410-832d-ea1e28bc413d --- 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)