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
Add a simple test program for SimDag.
[simgrid.git]
/
examples
/
bandwidth
/
test_sg.in
diff --git
a/examples/bandwidth/test_sg.in
b/examples/bandwidth/test_sg.in
index
81a0265
..
b82ca1e
100755
(executable)
--- a/
examples/bandwidth/test_sg.in
+++ b/
examples/bandwidth/test_sg.in
@@
-1,5
+1,7
@@
#! @BASH@
#! @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
fi
-ex
it 77
+ex
ec $exenv ./bandwidth_simulator@EXEEXT@ @top_srcdir@/examples/msg/small_platform.xml @srcdir@/bandwidth_deployment.xml $@