took min ctest config into account
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1167 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
13e089e30e
commit
468eadf834
1 changed files with 35 additions and 27 deletions
|
|
@ -31,39 +31,47 @@ LINK_DIRECTORIES(${EO_BIN_DIR}/lib ${ParadisEO-MO_BINARY_DIR}/lib)
|
||||||
######################################################################################
|
######################################################################################
|
||||||
|
|
||||||
SET (TEST_LIST t-moBestImprSelect
|
SET (TEST_LIST t-moBestImprSelect
|
||||||
t-moExponentialCoolingSchedule
|
t-moExponentialCoolingSchedule
|
||||||
t-moFirstImprSelect
|
t-moFirstImprSelect
|
||||||
t-moFitComparator
|
t-moFitComparator
|
||||||
t-moFitSolContinue
|
t-moFitSolContinue
|
||||||
t-moGenSolContinue
|
t-moGenSolContinue
|
||||||
t-moHC
|
t-moHC
|
||||||
t-moHC_2
|
t-moHC_2
|
||||||
t-moHCMoveLoopExpl
|
t-moHCMoveLoopExpl
|
||||||
t-moILS
|
t-moILS
|
||||||
t-moILS_HC
|
t-moILS_HC
|
||||||
t-moILS_TS
|
t-moILS_TS
|
||||||
t-moILS_SA
|
t-moILS_SA
|
||||||
t-moImprBestFitAspirCrit
|
t-moImprBestFitAspirCrit
|
||||||
t-moItRandNextMove
|
t-moItRandNextMove
|
||||||
t-moLinearCoolingSchedule
|
t-moLinearCoolingSchedule
|
||||||
t-moLSCheckPoint
|
t-moLSCheckPoint
|
||||||
t-moNoAspirCrit
|
t-moNoAspirCrit
|
||||||
t-moNoFitImprSolContinue
|
t-moNoFitImprSolContinue
|
||||||
t-moRandImprSelect
|
t-moRandImprSelect
|
||||||
t-moSA
|
t-moSA
|
||||||
t-moSimpleMoveTabuList
|
t-moSimpleMoveTabuList
|
||||||
t-moSimpleSolutionTabuList
|
t-moSimpleSolutionTabuList
|
||||||
t-moSteadyFitSolContinue
|
t-moSteadyFitSolContinue
|
||||||
t-moTS
|
t-moTS
|
||||||
t-moTS_2
|
t-moTS_2
|
||||||
t-moTSMoveLoopExpl )
|
t-moTSMoveLoopExpl)
|
||||||
|
|
||||||
FOREACH (test ${TEST_LIST})
|
FOREACH (test ${TEST_LIST})
|
||||||
SET ("T_${test}_SOURCES" "${test}.cpp")
|
SET ("T_${test}_SOURCES" "${test}.cpp")
|
||||||
ENDFOREACH (test)
|
ENDFOREACH (test)
|
||||||
|
|
||||||
|
|
||||||
IF(ENABLE_CMAKE_TESTING)
|
IF(ENABLE_MINIMAL_CMAKE_TESTING)
|
||||||
|
SET (MIN_TEST_LIST t-moHC)
|
||||||
|
FOREACH (mintest ${MIN_TEST_LIST})
|
||||||
|
SET ("T_${mintest}_SOURCES" "${mintest}.cpp")
|
||||||
|
ADD_EXECUTABLE(${mintest} ${T_${mintest}_SOURCES})
|
||||||
|
ADD_TEST(${mintest} ${mintest})
|
||||||
|
ENDFOREACH (mintest)
|
||||||
|
|
||||||
|
ELSEIF(ENABLE_CMAKE_TESTING)
|
||||||
|
|
||||||
# Add the tests
|
# Add the tests
|
||||||
FOREACH (test ${TEST_LIST})
|
FOREACH (test ${TEST_LIST})
|
||||||
|
|
@ -76,7 +84,7 @@ IF(ENABLE_CMAKE_TESTING)
|
||||||
TARGET_LINK_LIBRARIES(${test} ga es eoutils eo)
|
TARGET_LINK_LIBRARIES(${test} ga es eoutils eo)
|
||||||
ENDFOREACH (test)
|
ENDFOREACH (test)
|
||||||
|
|
||||||
ENDIF(ENABLE_CMAKE_TESTING)
|
ENDIF(ENABLE_MINIMAL_CMAKE_TESTING)
|
||||||
|
|
||||||
######################################################################################
|
######################################################################################
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue