Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
don't throw away existing LD_LIBRARY_PATH in our tests.
[simgrid.git] / examples / python / CMakeLists.txt
index 7e4cdb1..485047a 100644 (file)
@@ -1,6 +1,6 @@
 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-basic exec-async exec-remote)
+                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)
 
@@ -8,7 +8,7 @@ foreach(example actor-create actor-daemon actor-join actor-kill actor-migrate ac
     ADD_TESH(python-${example} --setenv srcdir=${CMAKE_CURRENT_SOURCE_DIR}/${example}
                                --setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms
                                --setenv pythoncmd=${PYTHON_EXECUTABLE}
-                              --setenv LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/lib
+                              --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)