git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30791
0785d39b-7218-0410-832d-
ea1e28bc413d
EXEC_PROGRAM(${HOSTNAME_COMMAND} OUTPUT_VARIABLE _hostname)
SET(CTEST_SITE "${_hostname}")
-SET(CTEST_BUILD_NAME "${CMAKE_SYSTEM}-${CMAKE_SYSTEM_PROCESSOR}-compiler")
-MESSAGE(FATAL_ERROR "${CMAKE_SYSTEM}-${CMAKE_SYSTEM_PROCESSOR}")
+SET(CTEST_BUILD_NAME "${CMAKE_SYSTEM}-${CMAKE_SYSTEM_PROCESSOR}-todo")
# If CTEST_BINARY_DIRECTORY is not set we just use the current directory
# except it is equal to CTEST_SOURCE_DIRECTORY in which case we fail.
#
- SET(CTEST_BINARY_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
+ SET(CTEST_BINARY_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
- IF("${CTEST_BINARY_DIRECTORY}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
+ IF("${CTEST_BINARY_DIRECTORY}" STREQUAL "${CTEST_SOURCE_DIR}")
MESSAGE(FATAL_ERROR "
ctest was invoked in the source directory and CTEST_BINARY_DIRECTORY is not set.
Please either call ctest from within a designated build directory, or set CTEST_BINARY_DIRECTORY accordingly."
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams