Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Just declare the variable at the beginning of the function (strict ansi)
[simgrid.git] / examples / msg / properties / msg_prop.tesh
index 9f0bd60..23fc6b0 100644 (file)
@@ -2,12 +2,13 @@
 
 p Testing a MSG application with properties in the XML for Hosts, Links and Processes
 
-$ $SG_TEST_EXENV /properties/msg_prop$EXEEXT ${srcdir:=.}/properties/deployment_platform.xml ${srcdir:=.}/properties/deployment_properties.xml 
-> [Jacquelin:master:(1) 0.000000] [msg_test/INFO] Property: mem for host: Boivin has value: 654321
-> [Jacquelin:master:(1) 0.000000] [msg_test/INFO] Property: disk for host: Boivin has value: 123456
-> [Jacquelin:master:(1) 0.000000] [msg_test/INFO] Property: Unknown for host Boivin is undefined
-> [Boivin:slave:(2) 0.303833] [msg_test/INFO] Received "Task_0" 
-> [Boivin:slave:(2) 0.303833] [msg_test/INFO] Property: SomeProp for process slave has value: SomeValue
-> [Boivin:slave:(2) 0.303833] [msg_test/INFO] Property: UnknownProcessProp for process slave is undefined
-> [Boivin:slave:(2) 0.814139] [msg_test/INFO] Received "finalize" 
-> [0.814139] [msg_test/INFO] Simulation time 0.814139
+$ $SG_TEST_EXENV properties/msg_prop$EXEEXT ${srcdir:=.}/../platforms/prop.xml ${srcdir:=.}/properties/deployment_properties.xml 
+> [C1-01:master:(1) 0.000000] [test/INFO] Property: Hdd for host: C1-00 has value: 120
+> [C1-01:master:(1) 0.000000] [test/INFO] Property: Unknown for host C1-00 is undefined
+> [C1-01:master:(1) 0.000000] [test/INFO] Trying to modify a host property
+> [C1-01:master:(1) 0.000000] [test/INFO]      Property: Hdd old value: 120
+> [C1-01:master:(1) 0.000000] [test/INFO]      Property: Hdd new value: 250
+> [C1-00:slave:(2) 0.000000] [test/INFO] Property: SomeProp for process slave has value: SomeValue
+> [C1-00:slave:(2) 0.000000] [test/INFO] Property: UnknownProcessProp for process slave is undefined
+> [0.000000] [test/INFO] Simulation time 0
+