X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c87c9d8cb9788a2060058caf618390993166dbf1..1210f6edb4a08e7ad2c4b8fa8aa3a4d74183deb5:/examples/gras/timer/test_sg.in diff --git a/examples/gras/timer/test_sg.in b/examples/gras/timer/test_sg.in index 72a7403975..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 $@