A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stick to the file naming scheme used in the tutorial
[simgrid.git]
/
examples
/
gras
/
timer
/
test_sg.in
diff --git
a/examples/gras/timer/test_sg.in
b/examples/gras/timer/test_sg.in
index
dfb8871
..
e54fb71
100755
(executable)
--- a/
examples/gras/timer/test_sg.in
+++ b/
examples/gras/timer/test_sg.in
@@
-1,5
+1,8
@@
#! @BASH@
#! @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
fi
-exit 77
+
+exec $exenv ./timer_simulator@EXEEXT@ @top_srcdir@/examples/msg/small_platform.xml @srcdir@/timer.xml $@