Changeset 1020 for branches/reconfiguration/modules/dspin_router/caba/test/synthetic_test/scripts/run_broadcast_check.sh
- Timestamp:
- Oct 13, 2015, 4:21:08 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/reconfiguration/modules/dspin_router/caba/test/synthetic_test/scripts/run_broadcast_check.sh
r998 r1020 1 1 #!/usr/bin/env sh 2 XSIZE=10 3 YSIZE=10 4 NPKTS=50 5 2 6 LOGDIR=logs 3 COMMON="-X 5 -Y 5 -P 1500"7 COMMON="-X $XSIZE -Y $YSIZE -P $NPKTS" 4 8 SCRIPTPATH=$(dirname $0) 5 9 … … 9 13 10 14 mkdir -p $LOGDIR 11 for (( x = 0; x < 5; x++ )); do12 for (( y = 0; y < 5; y++ )); do13 for (( fx = 0; fx < 5; fx++ )); do14 for (( fy = 0; fy < 5; fy++ )); do15 for (( x = 0; x < $XSIZE; x++ )); do 16 for (( y = 0; y < $YSIZE; y++ )); do 17 for (( fx = 0; fx < $XSIZE; fx++ )); do 18 for (( fy = 0; fy < $YSIZE; fy++ )); do 15 19 if [[ ( $x == $fx ) && ( $y == $fy ) ]]; then continue; fi 16 20 LOGFILE=$LOGDIR/$(echo log'_'$x'_'$y'_'$fx'_'$fy); … … 18 22 echo "./simul.x $ARGS ($LOGFILE)" 19 23 ./simul.x $ARGS > $LOGFILE 2>/dev/null; 20 $SCRIPTPATH/broadcast_check.sh $LOGFILE 24 $SCRIPTPATH/broadcast_check.sh $LOGFILE $NPKTS 21 25 if [[ $? == 1 ]]; then 22 26 echo "FAILURE";
Note: See TracChangeset
for help on using the changeset viewer.