X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9d3fd2c74f2fc09637b6845891e1b48cd5182281..891385bd0e3fee0d2b7e11a85b038fe43601facb:/examples/gras/timer/test_sg.in diff --git a/examples/gras/timer/test_sg.in b/examples/gras/timer/test_sg.in index dfb8871cc3..e54fb71d09 100755 --- a/examples/gras/timer/test_sg.in +++ b/examples/gras/timer/test_sg.in @@ -1,5 +1,8 @@ #! @BASH@ -if test -x ./timer_simulator ; then - exec ./timer_simulator @top_srcdir@/examples/msg/small_platform.xml @srcdir@/timer_deployment.xml $@ +if [ x@EXEEXT@ = x ] ; then + exenv=$SG_TEST_EXENV +else + exenv=wine fi -exit 77 + +exec $exenv ./timer_simulator@EXEEXT@ @top_srcdir@/examples/msg/small_platform.xml @srcdir@/timer.xml $@