Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix the cmake for the host-on-off tests
authorGabriel Corona <gabriel.corona@loria.fr>
Thu, 9 Jul 2015 11:40:12 +0000 (13:40 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Thu, 9 Jul 2015 11:53:02 +0000 (13:53 +0200)
Fix #7

teshsuite/msg/host_on_off/CMakeLists.txt

index ca555f8..5acd204 100644 (file)
@@ -5,22 +5,27 @@ set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
 foreach(x host_on_off host_on_off_wait host_on_off_recv)
   add_executable(${x} ${x}.c)
   target_link_libraries(${x} simgrid)
 foreach(x host_on_off host_on_off_wait host_on_off_recv)
   add_executable(${x} ${x}.c)
   target_link_libraries(${x} simgrid)
-  set(tesh_files
-    ${tesh_files}
-    ${CMAKE_CURRENT_SOURCE_DIR}/${x}.tesh
-    PARENT_SCOPE
-    )
+
 endforeach()
 
 endforeach()
 
-set(xml_files
-  ${xml_files}
-  ${CMAKE_CURRENT_SOURCE_DIR}/host_on_off_d.xml
+set(tesh_files
+  ${tesh_files}
+  ${CMAKE_CURRENT_SOURCE_DIR}/host_on_off.tesh
+  ${CMAKE_CURRENT_SOURCE_DIR}/host_on_off_wait.tesh
+  ${CMAKE_CURRENT_SOURCE_DIR}/host_on_off_recv.tesh
   PARENT_SCOPE
   )
 set(teshsuite_src
   ${teshsuite_src}
   ${CMAKE_CURRENT_SOURCE_DIR}/host_on_off.c
   PARENT_SCOPE
   )
 set(teshsuite_src
   ${teshsuite_src}
   ${CMAKE_CURRENT_SOURCE_DIR}/host_on_off.c
-  ${CMAKE_CURRENT_SOURCE_DIR}/host_on_off_simple.c
+  ${CMAKE_CURRENT_SOURCE_DIR}/host_on_off_wait.c
+  ${CMAKE_CURRENT_SOURCE_DIR}/host_on_off_recv.c
+  PARENT_SCOPE
+  )
+
+set(xml_files
+  ${xml_files}
+  ${CMAKE_CURRENT_SOURCE_DIR}/host_on_off_d.xml
   PARENT_SCOPE
   )
 set(bin_files
   PARENT_SCOPE
   )
 set(bin_files