Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
py: fix out of tree build testing
[simgrid.git] / examples / python / CMakeLists.txt
index 8c014b0..bbf4386 100644 (file)
@@ -7,6 +7,7 @@ foreach(example actor-create actor-yield exec-basic)
                                --setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms
                               --setenv LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/lib
                               --setenv PYTHONPATH=${CMAKE_BINARY_DIR}/lib
+                              --cd ${CMAKE_CURRENT_SOURCE_DIR}/${example}
                                ${CMAKE_HOME_DIRECTORY}/examples/python/${example}/${example}.tesh)
   endif()
 endforeach()