Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add --cfg=:yes command option to specify that platform want to use coordinates.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 24 Mar 2011 10:36:22 +0000 (10:36 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 24 Mar 2011 10:36:22 +0000 (10:36 +0000)
We can also used <prop id="coordinates" value="yes"/> into tag config.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9842 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/msg/token_ring/token_ring.tesh

index f283d38..2ce8c7c 100644 (file)
@@ -27,7 +27,8 @@ $ $SG_TEST_EXENV token_ring ${srcdir:=.}/two_clusters.xml "--log=root.fmt:[%10.6
 
 
 ! output sort
-$ $SG_TEST_EXENV token_ring ${srcdir:=.}/two_peers.xml "--log=root.fmt:[%12.6r]%e(%i:%P@%h)%e%m%n"
+$ $SG_TEST_EXENV token_ring ${srcdir:=.}/two_peers.xml --cfg=coordinates:yes "--log=root.fmt:[%12.6r]%e(%i:%P@%h)%e%m%n"
+> [    0.000000] (0:@) Configuration change: Set 'coordinates' to 'yes'
 > [    0.000000] (0:@) Bypassing the XML parser since surf_parse_open received a NULL pointer. If it is not what you want, go fix your code.
 > [ 5111.488529] (1:master@peer_100030591) Send Data to "host1"
 > [ 5111.488529] (2:slave@peer_100036570) Received "Token"