From: Arnaud Giersch Date: Tue, 26 Oct 2021 10:04:29 +0000 (+0200) Subject: Only test python examples with their default context factory. X-Git-Tag: v3.30~310 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/24b54bf266316ad77215864a3ff09808106b2ee6 Only test python examples with their default context factory. --- diff --git a/examples/python/CMakeLists.txt b/examples/python/CMakeLists.txt index 66853f3c84..845874ff7e 100644 --- a/examples/python/CMakeLists.txt +++ b/examples/python/CMakeLists.txt @@ -6,7 +6,7 @@ foreach(example actor-create actor-daemon actor-join actor-kill actor-migrate ac set(examples_src ${examples_src} ${CMAKE_CURRENT_SOURCE_DIR}/${example}/${example}.py) if(enable_python) - ADD_TESH_FACTORIES(python-${example} "*" + ADD_TESH(python-${example} --setenv srcdir=${CMAKE_CURRENT_SOURCE_DIR}/${example} --setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms --setenv pythoncmd=${PYTHON_EXECUTABLE} diff --git a/teshsuite/python/CMakeLists.txt b/teshsuite/python/CMakeLists.txt index 314d09c86b..6c1dfa118e 100644 --- a/teshsuite/python/CMakeLists.txt +++ b/teshsuite/python/CMakeLists.txt @@ -3,7 +3,7 @@ foreach(example borken-context corrupt-stack platform-mix) set(examples_src ${examples_src} ${CMAKE_CURRENT_SOURCE_DIR}/${example}/${example}.py) if(enable_python) - ADD_TESH_FACTORIES(tesh-python-${example} "*" + ADD_TESH(tesh-python-${example} --setenv srcdir=${CMAKE_CURRENT_SOURCE_DIR}/${example} --setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms --setenv pythoncmd=${PYTHON_EXECUTABLE}