Ignore:
Timestamp:
Jun 12, 2015, 3:22:12 PM (10 years ago)
Author:
cfuguet
Message:

reconf: several improvements in the dspin_router synthetic test platform

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  
    6969
    7070        error=sent - min
    71         if (error > 20) {
     71        if (error > 0) {
    7272                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";
    7474                exit 1;
    7575        }
  • branches/reconfiguration/modules/dspin_router/caba/test/synthetic_test/scripts/run_broadcast_check.sh

    r997 r998  
    11#!/usr/bin/env sh
    22LOGDIR=logs
    3 COMMON="-X 5 -Y 5 -N 10000"
     3COMMON="-X 5 -Y 5 -P 1500"
     4SCRIPTPATH=$(dirname $0)
     5
     6# compile the platform
     7make
     8if [[ ! -f ./simul.x ]]; then exit 1; fi;
    49
    510mkdir -p $LOGDIR
     
    1318                                echo "./simul.x $ARGS ($LOGFILE)"
    1419                                ./simul.x $ARGS > $LOGFILE 2>/dev/null;
    15                                 ./broadcast_check.sh $LOGFILE
     20                                $SCRIPTPATH/broadcast_check.sh $LOGFILE
    1621                                if [[ $? == 1 ]]; then
    1722                                        echo "FAILURE";
Note: See TracChangeset for help on using the changeset viewer.