From: mquinson Date: Wed, 21 May 2008 15:35:48 +0000 (+0000) Subject: Because of numerical stability issues (once again), the timings are not exactly the... X-Git-Tag: v3.3~445 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e95781ddd15466ec8f85b88157f5b45db294b878?ds=sidebyside Because of numerical stability issues (once again), the timings are not exactly the same on 32bits and 64bits for the small_sleep test case git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5491 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/teshsuite/Makefile.am b/teshsuite/Makefile.am index 5ef60e1db3..fa158ae742 100644 --- a/teshsuite/Makefile.am +++ b/teshsuite/Makefile.am @@ -141,7 +141,11 @@ gras/small_sleep/_small_sleep_simulator.c gras/small_sleep/_small_sleep_function cd gras/small_sleep;\ ../../$(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ small_sleep ../../$(top_srcdir)/teshsuite/gras/small_sleep/small_sleep.xml -TESTS += gras/small_sleep/test_sg +if GRAS_ARCH_32_BITS + TESTS += gras/small_sleep/test_sg_32 +else + TESTS += gras/small_sleep/test_sg_64 +endif # gras/small_sleep/test_rl don't test on RL!! ################################### diff --git a/teshsuite/gras/small_sleep/test_sg b/teshsuite/gras/small_sleep/test_sg_32 similarity index 100% rename from teshsuite/gras/small_sleep/test_sg rename to teshsuite/gras/small_sleep/test_sg_32 diff --git a/teshsuite/gras/small_sleep/test_sg_64 b/teshsuite/gras/small_sleep/test_sg_64 new file mode 100755 index 0000000000..e62d78265b --- /dev/null +++ b/teshsuite/gras/small_sleep/test_sg_64 @@ -0,0 +1,9 @@ +p Runs the 'empty_main' test within the simulator + +$ $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.000020] [test/INFO] Let's go 1E-20 +> [Tremblay:function:(1) 0.000020] [test/INFO] done +> [Tremblay:function:(1) 0.000020] [gras/INFO] Exiting GRAS