From: alegrand Date: Wed, 21 May 2008 09:04:35 +0000 (+0000) Subject: Change output of an example and fix the corresponding tesh file. X-Git-Tag: v3.3~462 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/82c0c72923e55859ed85f6450937f9b9a55f75f2 Change output of an example and fix the corresponding tesh file. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5474 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/teshsuite/gras/small_sleep/small_sleep.c b/teshsuite/gras/small_sleep/small_sleep.c index e123cdd448..5079478987 100644 --- a/teshsuite/gras/small_sleep/small_sleep.c +++ b/teshsuite/gras/small_sleep/small_sleep.c @@ -19,13 +19,13 @@ int function (int argc,char *argv[]); int function (int argc,char *argv[]) { gras_init(&argc,argv); gras_msg_handleall(100); - INFO0("Let's go -5"); + INFO0("Let's go 1E-5"); gras_msg_handleall(1E-5); - INFO0("Let's go -10"); + INFO0("Let's go 1E-10"); gras_msg_handleall(1E-10); - INFO0("Let's go -15"); + INFO0("Let's go 1E-15"); gras_msg_handleall(1E-15); - INFO0("Let's go -20"); + INFO0("Let's go 1E-20"); gras_msg_handleall(1E-20); INFO0("done"); gras_exit(); diff --git a/teshsuite/gras/small_sleep/test_sg b/teshsuite/gras/small_sleep/test_sg index 98b0e4a1c1..8f76661505 100755 --- a/teshsuite/gras/small_sleep/test_sg +++ b/teshsuite/gras/small_sleep/test_sg @@ -1,5 +1,9 @@ p Runs the 'empty_main' test within the simulator -$ $SG_TEST_EXENV ./small_sleep_simulator${EXEEXT:=} ${srcdir:=.}/../../../examples/msg/small_platform.xml ${srcdir:=.}/small_sleep.xml -> [Tremblay:server:(1) 0.000000] [gras/INFO] Exiting GRAS -> [Fafard:client:(2) 0.000000] [gras/INFO] Exiting GRAS +$ $SG_TEST_EXENV ./gras/small_sleep/small_sleep_simulator${EXEEXT:=} ${srcdir:=.}/../examples/msg/small_platform.xml ${srcdir:=.}/gras/small_sleep/small_sleep.xml +> [Tremblay:function:(1) 0.000000] [test/INFO] Let's go 1E-5 +> [Tremblay:function:(1) 0.000010] [test/INFO] Let's go 1E-10 +> [Tremblay:function:(1) 0.000020] [test/INFO] Let's go 1E-15 +> [Tremblay:function:(1) 0.000030] [test/INFO] Let's go 1E-20 +> [Tremblay:function:(1) 0.000030] [test/INFO] done +> [Tremblay:function:(1) 0.000030] [gras/INFO] Exiting GRAS