Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Stick to the file naming scheme used in the tutorial
[simgrid.git] / examples / gras / timer / test_sg.in
index dfb8871..e54fb71 100755 (executable)
@@ -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 $@