X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/96cedde3cdbc0b8ffc3f096a1b65d021b0226f99..1172261a25e491552711af930c59cff1eafd277d:/examples/python/CMakeLists.txt?ds=sidebyside diff --git a/examples/python/CMakeLists.txt b/examples/python/CMakeLists.txt index 6f1c596110..485047a135 100644 --- a/examples/python/CMakeLists.txt +++ b/examples/python/CMakeLists.txt @@ -1,12 +1,14 @@ -foreach(example actor-create actor-daemon actor-join actor-migrate actor-suspend actor-yield - exec-basic) +foreach(example actor-create actor-daemon actor-join actor-kill actor-migrate actor-suspend actor-yield # actor-lifetime + async-wait async-waitall async-waitany + exec-async exec-basic exec-dvfs exec-remote) 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(python-${example} --setenv srcdir=${CMAKE_CURRENT_SOURCE_DIR}/${example} --setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms - --setenv LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/lib + --setenv pythoncmd=${PYTHON_EXECUTABLE} + --setenv LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/lib:$ENV{LD_LIBRARY_PATH} --setenv PYTHONPATH=${CMAKE_BINARY_DIR}/lib --cd ${CMAKE_CURRENT_SOURCE_DIR}/${example} ${CMAKE_HOME_DIRECTORY}/examples/python/${example}/${example}.tesh) @@ -14,5 +16,11 @@ foreach(example actor-create actor-daemon actor-join actor-migrate actor-suspend endforeach() set(tesh_files examples/python/actor-create/actor-create_d.xml + examples/python/actor-lifetime/actor-lifetime_d.xml + examples/python/actor-lifetime/actor-lifetime.py # example broken so far + examples/python/actor-lifetime/actor-lifetime.tesh + examples/python/async-wait/async-wait_d.xml + examples/python/async-waitall/async-waitall_d.xml + examples/python/async-waitany/async-waitany_d.xml ${tesh_files} PARENT_SCOPE) set(examples_src ${examples_src} PARENT_SCOPE)