Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a platform with a bypass route. Add the test to cmake.
[simgrid.git] / teshsuite / simdag / platforms / basic_parsing_test.tesh
index f3ebc6c..aacd553 100644 (file)
-$ ./basic_parsing_test one_cluster.xml
-> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
-> Workstation number: 5, link number: 8
+$ ${bindir:=.}/basic_parsing_test one_cluster.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+> [  0.000000] (0:@) surf_workstation_model_init_ptask_L07
+> Workstation number: 5, link number: 7
 
-$ ./basic_parsing_test one_host_availability.xml
-> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
+$ ${bindir:=.}/basic_parsing_test one_host_availability.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+> [  0.000000] (0:@) surf_workstation_model_init_ptask_L07
 > Workstation number: 1, link number: 1
 
-$ ./basic_parsing_test one_host_properties.xml
-> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
+$ ${bindir:=.}/basic_parsing_test one_host_properties.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+> [  0.000000] (0:@) surf_workstation_model_init_ptask_L07
 > Workstation number: 1, link number: 1
 
-$ ./basic_parsing_test one_host_state_file.xml
-> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
+$ ${bindir:=.}/basic_parsing_test one_host_state_file.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+> [  0.000000] (0:@) surf_workstation_model_init_ptask_L07
 > Workstation number: 1, link number: 1
 
-$ ./basic_parsing_test one_host_state_off.xml
-> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
+$ ${bindir:=.}/basic_parsing_test one_host_state_off.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+> [  0.000000] (0:@) surf_workstation_model_init_ptask_L07
 > Workstation number: 1, link number: 1
 
-$ ./basic_parsing_test one_host_state_on.xml
-> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
+$ ${bindir:=.}/basic_parsing_test one_host_state_on.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+> [  0.000000] (0:@) surf_workstation_model_init_ptask_L07
 > Workstation number: 1, link number: 1
 
-$ ./basic_parsing_test one_host_trace_file.xml
-> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
+$ ${bindir:=.}/basic_parsing_test one_host_trace_file.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+> [  0.000000] (0:@) surf_workstation_model_init_ptask_L07
 > Workstation number: 1, link number: 1
 
-$ ./basic_parsing_test one_host_trace_inside.xml
-> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
+$ ${bindir:=.}/basic_parsing_test one_host_trace_inside.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+> [  0.000000] (0:@) surf_workstation_model_init_ptask_L07
 > Workstation number: 1, link number: 1
 
-$ ./basic_parsing_test one_host.xml
-> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
+$ ${bindir:=.}/basic_parsing_test one_host.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+> [  0.000000] (0:@) surf_workstation_model_init_ptask_L07
 > Workstation number: 1, link number: 1
 
-$ ./basic_parsing_test one_link_availability.xml
-> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
+$ ${bindir:=.}/basic_parsing_test one_link_availability.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+> [  0.000000] (0:@) surf_workstation_model_init_ptask_L07
 > Workstation number: 1, link number: 2
 
-$ ./basic_parsing_test one_link_fatpipe.xml
-> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
+$ ${bindir:=.}/basic_parsing_test one_link_fatpipe.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+> [  0.000000] (0:@) surf_workstation_model_init_ptask_L07
 > Workstation number: 1, link number: 2
 
-$ ./basic_parsing_test one_link_shared.xml
-> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
+$ ${bindir:=.}/basic_parsing_test one_link_shared.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+> [  0.000000] (0:@) surf_workstation_model_init_ptask_L07
 > Workstation number: 1, link number: 2
 
-$ ./basic_parsing_test one_link_state_file.xml
-> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
+$ ${bindir:=.}/basic_parsing_test one_link_state_file.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+> [  0.000000] (0:@) surf_workstation_model_init_ptask_L07
 > Workstation number: 1, link number: 2
 
-$ ./basic_parsing_test three_hosts_non_symmetric_route.xml
-> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
+$ ${bindir:=.}/basic_parsing_test three_hosts_non_symmetric_route.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+> [  0.000000] (0:@) surf_workstation_model_init_ptask_L07
 > Workstation number: 3, link number: 4
 
-$ ./basic_parsing_test two_clusters.xml
-> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
-> Workstation number: 10, link number: 16
+$ ${bindir:=.}/basic_parsing_test two_clusters.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+> [  0.000000] (0:@) surf_workstation_model_init_ptask_L07
+> Workstation number: 10, link number: 14
 
-$ ./basic_parsing_test two_hosts_multi_hop.xml
-> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
+$ ${bindir:=.}/basic_parsing_test two_hosts_multi_hop.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+> [  0.000000] (0:@) surf_workstation_model_init_ptask_L07
 > Workstation number: 2, link number: 4
 
-$ ./basic_parsing_test two_hosts_one_link.xml
-> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
+$ ${bindir:=.}/basic_parsing_test two_hosts_one_link.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+> [  0.000000] (0:@) surf_workstation_model_init_ptask_L07
 > Workstation number: 2, link number: 2
 
-$ ./basic_parsing_test ./four_hosts_floyd.xml
+$ ${bindir:=.}/basic_parsing_test ./four_hosts_floyd.xml
 > [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
 > Workstation number: 4, link number: 5
 
-$ ./basic_parsing_test ./four_hosts_floyd_bis.xml
+$ ${bindir:=.}/basic_parsing_test ./four_hosts_floyd_bis.xml
+> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
+> Workstation number: 5, link number: 7
+
+$ ${bindir:=.}/basic_parsing_test ./properties.xml
+> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '0.000010'
+> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'cpu/model' to 'CpuTI'
+> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'workstation/model' to 'compound'
+> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'Vegas'
+> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'path' to '~/'
+> Workstation number: 1, link number: 1
+
+$ ${bindir:=.}/basic_parsing_test ./properties.xml --cfg=cpu/model:CpuTI
+> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'cpu/model' to 'CpuTI'
+> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '0.000010'
+> [0.000000] [surf_parse/INFO] The custom configuration 'cpu/model' is already defined by user!
+> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'workstation/model' to 'compound'
+> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'Vegas'
+> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'path' to '~/'
+> Workstation number: 1, link number: 1
+
+$ ${bindir:=.}/basic_parsing_test ./one_cluster_file.xml
 > [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
-> Workstation number: 5, link number: 7
\ No newline at end of file
+> Workstation number: 2, link number: 4
+
+$ ${bindir:=.}/is_router_test ./test_of_is_router.xml
+> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
+> Workstation number: 10, link number: 1, elmts number: 21
+>    - Seen: "host01" is type : 1
+>    - Seen: "host02" is type : 1
+>    - Seen: "host03" is type : 1
+>    - Seen: "host04" is type : 1
+>    - Seen: "host05" is type : 1
+>    - Seen: "host06" is type : 1
+>    - Seen: "host07" is type : 1
+>    - Seen: "host08" is type : 1
+>    - Seen: "host09" is type : 1
+>    - Seen: "host10" is type : 1
+>    - Seen: "router1" is type : 2
+>    - Seen: "router2" is type : 2
+>    - Seen: "router3" is type : 2
+>    - Seen: "router4" is type : 2
+>    - Seen: "router5" is type : 2
+>    - Seen: "AS0" is type : 3
+>    - Seen: "AS1" is type : 3
+>    - Seen: "AS2" is type : 3
+>    - Seen: "AS3" is type : 3
+>    - Seen: "AS4" is type : 3
+>    - Seen: "AS" is type : 3
\ No newline at end of file