- Timestamp:
- Jun 12, 2015, 3:22:12 PM (10 years ago)
- Location:
- branches/reconfiguration/modules/dspin_router/caba/test/synthetic_test/scripts
- Files:
-
- 5 added
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/reconfiguration/modules/dspin_router/caba/test/synthetic_test/scripts/broadcast_check.sh
r997 r998 69 69 70 70 error=sent - min 71 if (error > 20) {71 if (error > 0) { 72 72 print "error: the number of broadcast received by a router is inferior " 73 print "to the error threshold \n";73 print "to the error threshold: error = " error "\n"; 74 74 exit 1; 75 75 } -
branches/reconfiguration/modules/dspin_router/caba/test/synthetic_test/scripts/run_broadcast_check.sh
r997 r998 1 1 #!/usr/bin/env sh 2 2 LOGDIR=logs 3 COMMON="-X 5 -Y 5 -N 10000" 3 COMMON="-X 5 -Y 5 -P 1500" 4 SCRIPTPATH=$(dirname $0) 5 6 # compile the platform 7 make 8 if [[ ! -f ./simul.x ]]; then exit 1; fi; 4 9 5 10 mkdir -p $LOGDIR … … 13 18 echo "./simul.x $ARGS ($LOGFILE)" 14 19 ./simul.x $ARGS > $LOGFILE 2>/dev/null; 15 ./broadcast_check.sh $LOGFILE20 $SCRIPTPATH/broadcast_check.sh $LOGFILE 16 21 if [[ $? == 1 ]]; then 17 22 echo "FAILURE";
Note: See TracChangeset
for help on using the changeset viewer.