source: branches/reconfiguration/modules/dspin_router/caba/test/simple_recovery_routing_test/test.sh @ 934

Last change on this file since 934 was 934, checked in by cfuguet, 10 years ago

reconf: add unitary test for the segment migration mechanism in the
dspin router.

  • Property svn:executable set to *
File size: 559 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 -DISK /dev/null -FAULTY_ROUTER 0 1 1 2> /dev/null >> output/log
16soclib-cleanup-terms &> /dev/null
17mv term0 output/term
18grep -q "success" output/term
19if [ $? == 0 ];
20        then echo $(basename $PWD) ": Success";
21        else echo $(basename $PWD) ": Failure";
22fi;
Note: See TracBrowser for help on using the repository browser.