source: branches/reconfiguration/modules/dspin_router/caba/test/simple_segment_recovery_test/test.sh @ 1016

Last change on this file since 1016 was 1016, checked in by cfuguet, 9 years ago

reconf: dspin_router

  • improve the code readability of the dspin_router model.
  • update the unitary tests of the dspin_router to support the local gateway hardware barrier, and the memory cache scratchpad mode.
  • Property svn:executable set to *
File size: 684 bytes
Line 
1#!/bin/bash
2
3make mkconfig
4
5SOFT=build/soft.elf
6make $SOFT
7
8# batch mode => no xterm or frame buffer windows
9export SOCLIB_TTY=FILES
10export SOCLIB_FB=HEADLESS
11#export SOCLIB_GDB=
12export DISTRIBUTED_BOOT=1
13PLATFORM=../../../../../platforms/tsar_generic_iob
14SIMULATOR=$PLATFORM/simul.x
15$SIMULATOR -DSOFT $SOFT \
16           -DISK /dev/null \
17           -FAULTY_ROUTER 0 1 1 \
18           -NCYCLES 20000 > output/log 2>&1
19#          -PROCID 0 \
20#          -MEMCID 0x1 \
21#          -DEBUG 3000 \
22
23soclib-cleanup-terms &> /dev/null
24mv term0 output/term
25grep -q "success" output/term
26if [ $? == 0 ];
27    then echo $(basename $PWD) ": Success";
28    else echo $(basename $PWD) ": Failure";
29fi;
Note: See TracBrowser for help on using the repository browser.