X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9d3fd2c74f2fc09637b6845891e1b48cd5182281..1210f6edb4a08e7ad2c4b8fa8aa3a4d74183deb5:/examples/gras/timer/test_sg.in?ds=sidebyside diff --git a/examples/gras/timer/test_sg.in b/examples/gras/timer/test_sg.in index dfb8871cc3..6969e0f94f 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_deployment.xml $@