Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
start to reorganize teshsuite/simdag
[simgrid.git] / teshsuite / simdag / platforms / CMakeLists.txt
1 foreach(x basic_parsing_test basic_link_test evaluate_parse_time evaluate_get_route_time)
2   add_executable       (${x} ${x}.c)
3   target_link_libraries(${x} simgrid)
4
5   set(teshsuite_src ${teshsuite_src} ${CMAKE_CURRENT_SOURCE_DIR}/${x}.c)
6 endforeach()
7
8 add_executable       (is_router_test          is_router_test.cpp)
9 target_link_libraries(is_router_test          simgrid)
10 add_executable       (flatifier               flatifier.cpp)
11 target_link_libraries(flatifier               simgrid)
12
13 set(tesh_files    ${tesh_files}     ${CMAKE_CURRENT_SOURCE_DIR}/basic_parsing_test_failing.tesh
14                                     ${CMAKE_CURRENT_SOURCE_DIR}/basic_parsing_test_sym_full.tesh
15                                     ${CMAKE_CURRENT_SOURCE_DIR}/basic_parsing_test.tesh
16                                     ${CMAKE_CURRENT_SOURCE_DIR}/basic_parsing_test_bypass.tesh
17                                     ${CMAKE_CURRENT_SOURCE_DIR}/basic_link_test.tesh
18                                     ${CMAKE_CURRENT_SOURCE_DIR}/flatifier.tesh
19                                     ${CMAKE_CURRENT_SOURCE_DIR}/get_full_link.tesh
20                                     ${CMAKE_CURRENT_SOURCE_DIR}/bogus_two_hosts_asymetric.tesh
21                                     ${CMAKE_CURRENT_SOURCE_DIR}/bogus_missing_gateway.tesh
22                                     ${CMAKE_CURRENT_SOURCE_DIR}/bogus_disk_attachment.tesh                 PARENT_SCOPE)
23 set(xml_files     ${xml_files}      ${CMAKE_CURRENT_SOURCE_DIR}/four_hosts_Dijkstra_ns3.xml
24                                     ${CMAKE_CURRENT_SOURCE_DIR}/four_hosts_floyd_ns3.xml
25                                     ${CMAKE_CURRENT_SOURCE_DIR}/four_hosts_floyd.xml
26                                     ${CMAKE_CURRENT_SOURCE_DIR}/two_hosts_multi_hop.xml
27                                     ${CMAKE_CURRENT_SOURCE_DIR}/host_attributes.xml
28                                     ${CMAKE_CURRENT_SOURCE_DIR}/link_attributes.xml
29                                     ${CMAKE_CURRENT_SOURCE_DIR}/one_cluster_file.xml
30                                     ${CMAKE_CURRENT_SOURCE_DIR}/one_cluster_multicore.xml
31                                     ${CMAKE_CURRENT_SOURCE_DIR}/one_cluster_fullduplex.xml
32                                     ${CMAKE_CURRENT_SOURCE_DIR}/one_cluster_router_id.xml
33                                     ${CMAKE_CURRENT_SOURCE_DIR}/one_cluster.xml
34                                     ${CMAKE_CURRENT_SOURCE_DIR}/platform_4p_1switch.xml
35                                     ${CMAKE_CURRENT_SOURCE_DIR}/platform_include.xml
36                                     ${CMAKE_CURRENT_SOURCE_DIR}/properties.xml
37                                     ${CMAKE_CURRENT_SOURCE_DIR}/test_of_is_router.xml
38                                     ${CMAKE_CURRENT_SOURCE_DIR}/three_hosts_non_symmetric_route.xml
39                                     ${CMAKE_CURRENT_SOURCE_DIR}/two_clusters_one_name.xml
40                                     ${CMAKE_CURRENT_SOURCE_DIR}/two_clusters_router_id.xml
41                                     ${CMAKE_CURRENT_SOURCE_DIR}/two_clusters.xml
42                                     ${CMAKE_CURRENT_SOURCE_DIR}/bogus_missing_src_gateway.xml
43                                     ${CMAKE_CURRENT_SOURCE_DIR}/bogus_missing_dst_gateway.xml
44                                     ${CMAKE_CURRENT_SOURCE_DIR}/bogus_two_hosts_asymetric.xml
45                                     ${CMAKE_CURRENT_SOURCE_DIR}/two_hosts_one_link_fullduplex.xml
46                                     ${CMAKE_CURRENT_SOURCE_DIR}/two_hosts_one_link_symmetrical.xml
47                                     ${CMAKE_CURRENT_SOURCE_DIR}/two_hosts_one_link.xml
48                                     ${CMAKE_CURRENT_SOURCE_DIR}/clusterA.xml
49                                     ${CMAKE_CURRENT_SOURCE_DIR}/clusterB.xml
50                                     ${CMAKE_CURRENT_SOURCE_DIR}/Dijkstra.xml
51                                     ${CMAKE_CURRENT_SOURCE_DIR}/platform_2p_1bb.xml
52                                     ${CMAKE_CURRENT_SOURCE_DIR}/platform_2p_1fl.xml
53                                     ${CMAKE_CURRENT_SOURCE_DIR}/platform_2p_1sl.xml
54                                     ${CMAKE_CURRENT_SOURCE_DIR}/platform_2p_1switch.xml
55                                     ${CMAKE_CURRENT_SOURCE_DIR}/bogus_disk_attachment.xml                  PARENT_SCOPE)
56 set(teshsuite_src ${teshsuite_src}  ${CMAKE_CURRENT_SOURCE_DIR}/flatifier.cpp
57                                     ${CMAKE_CURRENT_SOURCE_DIR}/is_router_test.cpp                         PARENT_SCOPE)
58 set(txt_files     ${txt_files}      ${CMAKE_CURRENT_SOURCE_DIR}/carol.fail
59                                     ${CMAKE_CURRENT_SOURCE_DIR}/bob.trace
60                                     ${CMAKE_CURRENT_SOURCE_DIR}/erin.avail
61                                     ${CMAKE_CURRENT_SOURCE_DIR}/link.bw
62                                     ${CMAKE_CURRENT_SOURCE_DIR}/link.fail
63                                     ${CMAKE_CURRENT_SOURCE_DIR}/link.lat                                   PARENT_SCOPE)