Last change
on this file since 994 was
994,
checked in by cfuguet, 9 years ago
|
reconf: modify the broadcast routing function to support holes in the
mesh.
- Add a test platform in dspin_router directory that validates the
introduced modifications.
|
-
Property svn:executable set to
*
|
File size:
593 bytes
|
Line | |
---|
1 | #!/usr/bin/env sh |
---|
2 | LOGDIR=logs |
---|
3 | COMMON="-X 5 -Y 5 -N 3000" |
---|
4 | |
---|
5 | mkdir -p $LOGDIR |
---|
6 | for (( x = 0; x < 5; x++ )); do |
---|
7 | for (( y = 0; y < 5; y++ )); do |
---|
8 | for (( fx = 0; fx < 5; fx++ )); do |
---|
9 | for (( fy = 0; fy < 5; fy++ )); do |
---|
10 | if [[ ( $x == $fx ) && ( $y == $fy ) ]]; then continue; fi |
---|
11 | LOGFILE=$LOGDIR/$(echo log'_'$x'_'$y'_'$fx'_'$fy); |
---|
12 | ARGS="$COMMON -SX $x -SY $y -FX $fx -FY $fy"; |
---|
13 | echo "./simul.x $ARGS ($LOGFILE)" |
---|
14 | ./simul.x $ARGS > $LOGFILE 2>/dev/null; |
---|
15 | ./check_broadcast.sh $LOGFILE |
---|
16 | if [[ $? == 1 ]]; then |
---|
17 | echo "FAILURE"; |
---|
18 | exit 1; |
---|
19 | fi |
---|
20 | done |
---|
21 | done |
---|
22 | done |
---|
23 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.