Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
merge more tests in less tesh files
[simgrid.git] / examples / smpi / replay_multiple_manual_deploy / CMakeLists.txt
1 if(enable_smpi)
2   include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi")
3
4   add_executable       (replay_multiple_manual replay_multiple_manual.cpp)
5   target_link_libraries(replay_multiple_manual simgrid)
6
7   # Define a list of a tesh files
8   list(APPEND tesh_filename_list replay_multiple_manual_nojob)
9   list(APPEND tesh_filename_list replay_multiple_manual_empty1)
10   list(APPEND tesh_filename_list replay_multiple_manual_empty2)
11   list(APPEND tesh_filename_list replay_multiple_manual_mixed1)
12   list(APPEND tesh_filename_list replay_multiple_manual_mixed2)
13   list(APPEND tesh_filename_list replay_multiple_manual_mixed2_noise)
14   list(APPEND tesh_filename_list replay_multiple_manual_mixed2_sr)
15   list(APPEND tesh_filename_list replay_multiple_manual_mixed2_sr_noise)
16   list(APPEND tesh_filename_list replay_multiple_manual_mixed2_st)
17   list(APPEND tesh_filename_list replay_multiple_manual_mixed2_st_noise)
18   list(APPEND tesh_filename_list replay_multiple_manual_mixed2_st_sr)
19   list(APPEND tesh_filename_list replay_multiple_manual_mixed2_st_sr_noise)
20
21   IF(NOT HAVE_MC)
22     foreach(rm_tesh_file IN LISTS tesh_filename_list)
23       string(REPLACE "_" "-" dash_separated ${rm_tesh_file})
24       ADD_TESH("smpi-${dash_separated}"
25         --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/smpi/replay_multiple_manual_deploy
26         --setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms
27         --cd ${CMAKE_BINARY_DIR}/examples/smpi/replay_multiple_manual_deploy
28         ${CMAKE_CURRENT_SOURCE_DIR}/${rm_tesh_file}.tesh)
29     endforeach()
30   ENDIF()
31 endif()
32
33 set(txt_files     ${txt_files}     ${CMAKE_CURRENT_SOURCE_DIR}/compute_only.txt
34                                    ${CMAKE_CURRENT_SOURCE_DIR}/compute_only/actions0.txt
35                                    ${CMAKE_CURRENT_SOURCE_DIR}/compute_only/actions1.txt
36                                    ${CMAKE_CURRENT_SOURCE_DIR}/empty.txt
37                                    ${CMAKE_CURRENT_SOURCE_DIR}/empty/actions0.txt
38                                    ${CMAKE_CURRENT_SOURCE_DIR}/empty/actions1.txt
39                                    ${CMAKE_CURRENT_SOURCE_DIR}/mixed.txt
40                                    ${CMAKE_CURRENT_SOURCE_DIR}/mixed/actions0.txt
41                                    ${CMAKE_CURRENT_SOURCE_DIR}/mixed/actions1.txt
42                                    ${CMAKE_CURRENT_SOURCE_DIR}/workload_compute
43                                    ${CMAKE_CURRENT_SOURCE_DIR}/workload_compute_consecutive
44                                    ${CMAKE_CURRENT_SOURCE_DIR}/workload_compute_consecutive2
45                                    ${CMAKE_CURRENT_SOURCE_DIR}/workload_compute_simple
46                                    ${CMAKE_CURRENT_SOURCE_DIR}/workload_mixed2
47                                    ${CMAKE_CURRENT_SOURCE_DIR}/workload_mixed2_same_resources
48                                    ${CMAKE_CURRENT_SOURCE_DIR}/workload_mixed2_same_time
49                                    ${CMAKE_CURRENT_SOURCE_DIR}/workload_mixed2_same_time_and_resources PARENT_SCOPE)
50 set(tesh_files  ${tesh_files}   ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_nojob.tesh
51                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_empty1.tesh
52                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_empty2.tesh
53                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_mixed1.tesh
54                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_mixed2.tesh
55                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_mixed2_noise.tesh
56                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_mixed2_sr.tesh
57                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_mixed2_sr_noise.tesh
58                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_mixed2_st.tesh
59                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_mixed2_st_noise.tesh
60                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_mixed2_st_sr.tesh
61                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_mixed2_st_sr_noise.tesh PARENT_SCOPE)
62 set(examples_src  ${examples_src}  ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual.cpp PARENT_SCOPE)