X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/821ed357ccf632fecc512c31036b18c774144830..8d81705e2089e379e105983e198341c83b081139:/examples/bandwidth/test_sg.in diff --git a/examples/bandwidth/test_sg.in b/examples/bandwidth/test_sg.in index 81a0265c4e..b82ca1e6d7 100755 --- a/examples/bandwidth/test_sg.in +++ b/examples/bandwidth/test_sg.in @@ -1,5 +1,7 @@ #! @BASH@ -if test -x ./bandwidth_simulator ; then - exec ./bandwidth_simulator @srcdir@/../WAN_3.platform.txt @srcdir@/bandwidth_deployment.txt +if [ x@EXEEXT@ = x ] ; then + exenv="libtool --mode=execute valgrind" +else + exenv=wine fi -exit 77 +exec $exenv ./bandwidth_simulator@EXEEXT@ @top_srcdir@/examples/msg/small_platform.xml @srcdir@/bandwidth_deployment.xml $@