Skip to content
Snippets Groups Projects
Commit f95c6614 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

found out how to print an after-test message (http://stackoverflow.com/questions/37677077/)

parent 18c48763
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
project(BornAgain)
enable_testing()
include(CTest) # equivalent to "enable_testing() ???
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}) # => 'make check' is an alias for 'ctest'
include(VERSION.cmake)
......
......@@ -108,6 +108,8 @@ if(BORNAGAIN_RELEASE)
configure_file("${TEMPLATE_DIR}/FindBornAgain.cmake.in" "${CMAKE_SOURCE_DIR}/Examples/cpp/CylindersAndPrisms/modules/FindBornAgain.cmake" @ONLY)
endif()
configure_file("${TEMPLATE_DIR}/CTestCustom.cmake.in" "${CMAKE_BINARY_DIR}/CTestCustom.cmake")
# -----------------------------------------------------------------------------
# configure BornAgain launch scripts
# -----------------------------------------------------------------------------
......
set(CTEST_CUSTOM_POST_TEST "echo AFTER_THE_TEST")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment