Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Run all scenarios now that other MRs have been accepted
[simgrid.git] / teshsuite / python / CMakeLists.txt
index 8d5aeb0..6c1dfa1 100644 (file)
@@ -1,10 +1,9 @@
-foreach(example borken-context corrupt-stack)
-  set(tesh_files    ${tesh_files}   ${CMAKE_CURRENT_SOURCE_DIR}/${example}/${example}.tesh
-                                    ${CMAKE_CURRENT_SOURCE_DIR}/${example}/${example}_d.xml)
+foreach(example borken-context corrupt-stack platform-mix)
+  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(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}
@@ -15,5 +14,10 @@ foreach(example borken-context corrupt-stack)
   endif()
 endforeach()
 
+foreach(example borken-context corrupt-stack)
+  set(xml_files    ${xml_files}   ${CMAKE_CURRENT_SOURCE_DIR}/${example}/${example}_d.xml)
+endforeach()
+
 set(tesh_files    ${tesh_files}    PARENT_SCOPE)
+set(xml_files    ${xml_files}    PARENT_SCOPE)
 set(examples_src  ${examples_src}  PARENT_SCOPE)