From: Arnaud Giersch Date: Tue, 10 Apr 2018 10:20:45 +0000 (+0200) Subject: Cosmetics: rename tests with context factory at the end of the name. X-Git-Tag: v3.20~471 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2bd3626f72eba11ecb79ecb4536a84734739526c?ds=inline Cosmetics: rename tests with context factory at the end of the name. --- diff --git a/teshsuite/smpi/mpich3-test/coll/CMakeLists.txt b/teshsuite/smpi/mpich3-test/coll/CMakeLists.txt index e1c5459994..ed0b323d78 100644 --- a/teshsuite/smpi/mpich3-test/coll/CMakeLists.txt +++ b/teshsuite/smpi/mpich3-test/coll/CMakeLists.txt @@ -212,15 +212,15 @@ if(enable_smpi AND enable_smpi_MPICH3_testsuite) MACRO(ADD_MPICH3_COLL SELECTOR FACTORY PRIVATIZATION) set(NAME "test-smpi-mpich3-coll-${SELECTOR}") set(ARGS "-execarg=--cfg=smpi/coll-selector:${SELECTOR}" ${ARGN}) + if(NOT "${PRIVATIZATION}" STREQUAL "" AND HAVE_PRIVATIZATION) + set(NAME "${NAME}-${PRIVATIZATION}") + set(ARGS ${ARGS} "-execarg=--cfg=smpi/privatization:${PRIVATIZATION}") + endif() string(TOUPPER "HAVE_${FACTORY}_CONTEXTS" HAVE_FACTORY) if(NOT "${FACTORY}" STREQUAL "" AND ${HAVE_FACTORY}) set(NAME "${NAME}-${FACTORY}") set(ARGS ${ARGS} "-execarg=--cfg=contexts/factory:${FACTORY}") endif() - if(NOT "${PRIVATIZATION}" STREQUAL "" AND HAVE_PRIVATIZATION) - set(NAME "${NAME}-${PRIVATIZATION}") - set(ARGS ${ARGS} "-execarg=--cfg=smpi/privatization:${PRIVATIZATION}") - endif() ADD_TEST(${NAME} ${CMAKE_COMMAND} -E chdir ${CMAKE_BINARY_DIR}/teshsuite/smpi/mpich3-test/coll ${PERL_EXECUTABLE} ${CMAKE_HOME_DIRECTORY}/teshsuite/smpi/mpich3-test/runtests ${TESH_OPTION} -mpiexec=${CMAKE_BINARY_DIR}/smpi_script/bin/smpirun -srcdir=${CMAKE_HOME_DIRECTORY}/teshsuite/smpi/mpich3-test/coll -tests=testlist ${ARGS}) SET_TESTS_PROPERTIES(${NAME} PROPERTIES PASS_REGULAR_EXPRESSION "tests passed!") ENDMACRO()