Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add msg process test and fix ppid of created processes
[simgrid.git] / teshsuite / msg / CMakeLists.txt
index 1656f25..983748b 100644 (file)
@@ -6,12 +6,14 @@ add_executable(get_sender ${CMAKE_HOME_DIRECTORY}/teshsuite/msg/get_sender.c)
 add_executable(pid ${CMAKE_HOME_DIRECTORY}/teshsuite/msg/pid.c)
 add_executable(host_on_off ${CMAKE_HOME_DIRECTORY}/teshsuite/msg/host_on_off.c)
 add_executable(task_destroy_cancel ${CMAKE_HOME_DIRECTORY}/teshsuite/msg/task_destroy_cancel.c)
+add_executable(process ${CMAKE_HOME_DIRECTORY}/teshsuite/msg/process.c)
 
 
 ### Add definitions for compile
 target_link_libraries(get_sender simgrid)
 target_link_libraries(host_on_off simgrid)
 target_link_libraries(task_destroy_cancel simgrid)
+target_link_libraries(process simgrid)
 if(NOT WIN32)
   target_link_libraries(pid simgrid m pthread)
 else()
@@ -24,6 +26,7 @@ set(tesh_files
   ${CMAKE_CURRENT_SOURCE_DIR}/pid.tesh
   ${CMAKE_CURRENT_SOURCE_DIR}/host_on_off.tesh
   ${CMAKE_CURRENT_SOURCE_DIR}/task_destroy_cancel.tesh
+  ${CMAKE_CURRENT_SOURCE_DIR}/process.tesh
   PARENT_SCOPE
   )
 set(xml_files
@@ -36,6 +39,7 @@ set(xml_files
   ${CMAKE_CURRENT_SOURCE_DIR}/host_on_off_p.xml
   ${CMAKE_CURRENT_SOURCE_DIR}/task_destroy_cancel_d.xml
   ${CMAKE_CURRENT_SOURCE_DIR}/task_destroy_cancel_p.xml
+  ${CMAKE_CURRENT_SOURCE_DIR}/process.xml
   PARENT_SCOPE
   )
 set(teshsuite_src
@@ -44,6 +48,7 @@ set(teshsuite_src
   ${CMAKE_CURRENT_SOURCE_DIR}/pid.c
   ${CMAKE_CURRENT_SOURCE_DIR}/host_on_off.c
   ${CMAKE_CURRENT_SOURCE_DIR}/task_destroy_cancel.c
+  ${CMAKE_CURRENT_SOURCE_DIR}/process.c
   PARENT_SCOPE
   )
 set(bin_files