Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'python_ptask' into 'master'
[simgrid.git] / examples / python / CMakeLists.txt
index 66853f3..1efe8e2 100644 (file)
@@ -1,12 +1,16 @@
 foreach(example actor-create actor-daemon actor-join actor-kill actor-migrate actor-suspend actor-yield actor-lifetime
-                comm-wait comm-waitall comm-waitany
-                exec-async exec-basic exec-dvfs exec-remote
-                network-nonlinear clusters-multicpu io-degradation exec-cpu-nonlinear)
+        app-masterworkers
+        comm-wait comm-waitall comm-waitallfor comm-waitany comm-waitfor comm-failure comm-host2host comm-pingpong
+        comm-ready comm-serialize comm-suspend comm-testany comm-throttling comm-waitallfor comm-waituntil
+        exec-async exec-basic exec-dvfs exec-remote exec-ptask
+        platform-profile platform-failures
+        network-nonlinear clusters-multicpu io-degradation exec-cpu-nonlinear
+        synchro-barrier synchro-mutex synchro-semaphore)
   set(tesh_files    ${tesh_files}   ${CMAKE_CURRENT_SOURCE_DIR}/${example}/${example}.tesh)
   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}
@@ -20,6 +24,6 @@ endforeach()
 set(examples_src  ${examples_src}                                                      PARENT_SCOPE)
 set(tesh_files    ${tesh_files}   examples/python/actor-create/actor-create_d.xml
                                   examples/python/actor-lifetime/actor-lifetime_d.xml
-                                  examples/python/comm-wait/comm-wait_d.xml
-                                  examples/python/comm-waitall/comm-waitall_d.xml
-                                  examples/python/comm-waitany/comm-waitany_d.xml    PARENT_SCOPE)
+                                  examples/python/app-masterworkers/app-masterworkers_d.xml
+                                  examples/python/platform-failures/platform-failures_d.xml
+                                  PARENT_SCOPE)