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
|
||||
t-moExponentialCoolingSchedule
|
||||
t-moFirstImprSelect
|
||||
t-moFitComparator
|
||||
t-moFitSolContinue
|
||||
t-moGenSolContinue
|
||||
t-moHC
|
||||
t-moHC_2
|
||||
t-moHCMoveLoopExpl
|
||||
t-moILS
|
||||
t-moILS_HC
|
||||
t-moILS_TS
|
||||
t-moILS_SA
|
||||
t-moImprBestFitAspirCrit
|
||||
t-moItRandNextMove
|
||||
t-moLinearCoolingSchedule
|
||||
t-moLSCheckPoint
|
||||
t-moNoAspirCrit
|
||||
t-moNoFitImprSolContinue
|
||||
t-moRandImprSelect
|
||||
t-moSA
|
||||
t-moSimpleMoveTabuList
|
||||
t-moSimpleSolutionTabuList
|
||||
t-moExponentialCoolingSchedule
|
||||
t-moFirstImprSelect
|
||||
t-moFitComparator
|
||||
t-moFitSolContinue
|
||||
t-moGenSolContinue
|
||||
t-moHC
|
||||
t-moHC_2
|
||||
t-moHCMoveLoopExpl
|
||||
t-moILS
|
||||
t-moILS_HC
|
||||
t-moILS_TS
|
||||
t-moILS_SA
|
||||
t-moImprBestFitAspirCrit
|
||||
t-moItRandNextMove
|
||||
t-moLinearCoolingSchedule
|
||||
t-moLSCheckPoint
|
||||
t-moNoAspirCrit
|
||||
t-moNoFitImprSolContinue
|
||||
t-moRandImprSelect
|
||||
t-moSA
|
||||
t-moSimpleMoveTabuList
|
||||
t-moSimpleSolutionTabuList
|
||||
t-moSteadyFitSolContinue
|
||||
t-moTS
|
||||
t-moTS_2
|
||||
t-moTSMoveLoopExpl )
|
||||
t-moTS
|
||||
t-moTS_2
|
||||
t-moTSMoveLoopExpl)
|
||||
|
||||
FOREACH (test ${TEST_LIST})
|
||||
SET ("T_${test}_SOURCES" "${test}.cpp")
|
||||
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
|
||||
FOREACH (test ${TEST_LIST})
|
||||
|
|
@ -76,7 +84,7 @@ IF(ENABLE_CMAKE_TESTING)
|
|||
TARGET_LINK_LIBRARIES(${test} ga es eoutils eo)
|
||||
ENDFOREACH (test)
|
||||
|
||||
ENDIF(ENABLE_CMAKE_TESTING)
|
||||
ENDIF(ENABLE_MINIMAL_CMAKE_TESTING)
|
||||
|
||||
######################################################################################
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue