From: agiersch Date: Tue, 16 Nov 2010 09:25:32 +0000 (+0000) Subject: Fix argument quoting in tesh files. X-Git-Tag: v3_5~267 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/1888c474f9f1789e9dd18eab06a578b3ca108bd5 Fix argument quoting in tesh files. This makes ADD_TEST in memcheck_tests.cmake to correctly split the arguments. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8560 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/examples/gras/rpc/test_sg_32 b/examples/gras/rpc/test_sg_32 index 03e8af0890..6ff06d1f8a 100755 --- a/examples/gras/rpc/test_sg_32 +++ b/examples/gras/rpc/test_sg_32 @@ -4,7 +4,7 @@ # optimization level: if inlining, gcc changes it). # Trying to get it right would prevent me to ever submit that damn paper. -$ $SG_TEST_EXENV ./rpc_simulator$EXEEXT ${srcdir:=.}/../../msg/small_platform.xml ${srcdir:=.}/rpc.xml --log=root.fmt:"'[%h:%P:(%i)] [%c/%p] %m%n'" +$ $SG_TEST_EXENV ./rpc_simulator$EXEEXT ${srcdir:=.}/../../msg/small_platform.xml ${srcdir:=.}/rpc.xml "--log=root.fmt:'[%h:%P:(%i)] [%c/%p] %m%n'" > [Tremblay:server:(1)] [Rpc/INFO] Launch server (port=4000) > [Fafard:client:(3)] [Rpc/INFO] Launch client (server on Tremblay:4000) > [Ginette:forwarder:(2)] [Rpc/INFO] Launch forwarder (port=4000) diff --git a/examples/gras/rpc/test_sg_64 b/examples/gras/rpc/test_sg_64 index 03e8af0890..6ff06d1f8a 100755 --- a/examples/gras/rpc/test_sg_64 +++ b/examples/gras/rpc/test_sg_64 @@ -4,7 +4,7 @@ # optimization level: if inlining, gcc changes it). # Trying to get it right would prevent me to ever submit that damn paper. -$ $SG_TEST_EXENV ./rpc_simulator$EXEEXT ${srcdir:=.}/../../msg/small_platform.xml ${srcdir:=.}/rpc.xml --log=root.fmt:"'[%h:%P:(%i)] [%c/%p] %m%n'" +$ $SG_TEST_EXENV ./rpc_simulator$EXEEXT ${srcdir:=.}/../../msg/small_platform.xml ${srcdir:=.}/rpc.xml "--log=root.fmt:'[%h:%P:(%i)] [%c/%p] %m%n'" > [Tremblay:server:(1)] [Rpc/INFO] Launch server (port=4000) > [Fafard:client:(3)] [Rpc/INFO] Launch client (server on Tremblay:4000) > [Ginette:forwarder:(2)] [Rpc/INFO] Launch forwarder (port=4000) diff --git a/teshsuite/simdag/platforms/two_hosts_asymetric.tesh b/teshsuite/simdag/platforms/two_hosts_asymetric.tesh index c07a604358..88dbaa1def 100644 --- a/teshsuite/simdag/platforms/two_hosts_asymetric.tesh +++ b/teshsuite/simdag/platforms/two_hosts_asymetric.tesh @@ -1,10 +1,10 @@ ! expect signal SIGABRT -$ ./flatifier two_hosts_asymetric_BOGUS.xml --log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n +$ ./flatifier two_hosts_asymetric_BOGUS.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" > [ 0.000000] (0:@) surf_workstation_model_init_ptask_L07 > [ 0.000000] (0:@) Error while loading two_hosts_asymetric_BOGUS.xml: The route between "alice" and "bob" already exists ! expect signal SIGABRT -$ ./flatifier two_hosts_asymetric_BOGUS2.xml --log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n +$ ./flatifier two_hosts_asymetric_BOGUS2.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" > [ 0.000000] (0:@) surf_workstation_model_init_ptask_L07 > [ 0.000000] (0:@) Error while loading two_hosts_asymetric_BOGUS2.xml: The route between "alice" and "bob" already exists