From 383407edcaddac9387155149394f19f2b4bb4da4 Mon Sep 17 00:00:00 2001 From: jhumeau Date: Fri, 26 Mar 2010 16:11:34 +0000 Subject: [PATCH] =?UTF-8?q?config=20pour=20les=20tests=20ajout=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1721 331e1502-861f-0410-8da2-ba01fb791d7f --- trunk/paradiseo-mo/CMakeLists.txt | 5 +++++ trunk/paradiseo-mo/CTestCustom.cmake | 5 +++++ .../paradiseo-mo/tutorial/oneMax/application/CMakeLists.txt | 4 +++- 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 trunk/paradiseo-mo/CTestCustom.cmake diff --git a/trunk/paradiseo-mo/CMakeLists.txt b/trunk/paradiseo-mo/CMakeLists.txt index 6ec78b35f..7627ba19e 100644 --- a/trunk/paradiseo-mo/CMakeLists.txt +++ b/trunk/paradiseo-mo/CMakeLists.txt @@ -35,6 +35,11 @@ IF(NOT DEFINED config OR NOT config) give the path of the install configuration file. ") ENDIF(NOT DEFINED config OR NOT config) +EXECUTE_PROCESS( + COMMAND ${CMAKE_COMMAND} -E copy_if_different + ${ParadisEO-MOEO_SOURCE_DIR}/CTestCustom.cmake + ${ParadisEO-MOEO_BINARY_DIR}/CTestCustom.cmake) + # Need the config file whose full path is given thanks to the "config" variable INCLUDE(${config}) ########################################################################################################################################## diff --git a/trunk/paradiseo-mo/CTestCustom.cmake b/trunk/paradiseo-mo/CTestCustom.cmake new file mode 100644 index 000000000..399b1bc46 --- /dev/null +++ b/trunk/paradiseo-mo/CTestCustom.cmake @@ -0,0 +1,5 @@ +SET(CTEST_CUSTOM_COVERAGE_EXCLUDE + ${CTEST_CUSTOM_COVERAGE_EXCLUDE} +"test/" +"paradiseo-eo/" +) diff --git a/trunk/paradiseo-mo/tutorial/oneMax/application/CMakeLists.txt b/trunk/paradiseo-mo/tutorial/oneMax/application/CMakeLists.txt index 2053312af..8fcb64abd 100644 --- a/trunk/paradiseo-mo/tutorial/oneMax/application/CMakeLists.txt +++ b/trunk/paradiseo-mo/tutorial/oneMax/application/CMakeLists.txt @@ -22,4 +22,6 @@ TARGET_LINK_LIBRARIES(testHCneutral eoutils ga eo) TARGET_LINK_LIBRARIES(testMetropolisHasting eoutils ga eo) #TARGET_LINK_LIBRARIES(testWithMove eoutils ga eo) TARGET_LINK_LIBRARIES(testSimpleTS eoutils ga eo) -TARGET_LINK_LIBRARIES(testRandomNeutralWalk eoutils ga eo) \ No newline at end of file +TARGET_LINK_LIBRARIES(testRandomNeutralWalk eoutils ga eo) + + \ No newline at end of file