Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Only test python examples with their default context factory.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 26 Oct 2021 10:04:29 +0000 (12:04 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 26 Oct 2021 10:04:29 +0000 (12:04 +0200)
examples/python/CMakeLists.txt
teshsuite/python/CMakeLists.txt

index 66853f3..845874f 100644 (file)
@@ -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}
index 314d09c..6c1dfa1 100644 (file)
@@ -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}