Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update msg property test
authorquasar <quasar@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 2 Nov 2007 09:01:55 +0000 (09:01 +0000)
committerquasar <quasar@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 2 Nov 2007 09:01:55 +0000 (09:01 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4959 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/msg/Makefile.am
examples/msg/properties/msg_prop.tesh [new file with mode: 0644]

index 87cb091..d71b491 100644 (file)
@@ -38,7 +38,7 @@ TESTS = sendrecv/sendrecv_KCCFLN05.tesh \
         masterslave/masterslave_bypass.tesh \
         parallel_task/parallel_task.tesh \
         priority/priority.tesh \
         masterslave/masterslave_bypass.tesh \
         parallel_task/parallel_task.tesh \
         priority/priority.tesh \
-       properties/msg_test.tesh
+       properties/msg_prop.tesh
 
 
 if HAVE_SDP
 
 
 if HAVE_SDP
diff --git a/examples/msg/properties/msg_prop.tesh b/examples/msg/properties/msg_prop.tesh
new file mode 100644 (file)
index 0000000..9f0bd60
--- /dev/null
@@ -0,0 +1,13 @@
+#! ./tesh
+
+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