Last change
on this file since 910 was
887,
checked in by cfuguet, 10 years ago
|
reconf: add test for the recovery routing function on the dspin_router
- The test performs a reconfiguration of a cycle-free contour around a
blackhole in a 3x3 platform. The blackhole (faulty routers) is in
the cluster (1,1).
- Introduce a reconf:xicu driver in the softs directory.
For now this driver contains only a getter/setter for the
configuration registers in the reconf:vci_xicu.
|
-
Property svn:executable set to
*
|
File size:
556 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | make mkconfig |
---|
4 | |
---|
5 | SOFT=build/soft.elf |
---|
6 | make $SOFT |
---|
7 | |
---|
8 | # batch mode => no xterm or frame buffer windows |
---|
9 | export SOCLIB_TTY=FILES |
---|
10 | export SOCLIB_FB=HEADLESS |
---|
11 | export SOCLIB_GDB= |
---|
12 | export DISTRIBUTED_BOOT=1 |
---|
13 | PLATFORM=../../../../../platforms/tsar_generic_iob |
---|
14 | SIMULATOR=$PLATFORM/simul.x |
---|
15 | $SIMULATOR -SOFT $SOFT -DISK /dev/null -FAULTY_ROUTER 0x11 2> /dev/null >> output/log |
---|
16 | soclib-cleanup-terms &> /dev/null |
---|
17 | mv term0 output/term |
---|
18 | grep -q "success" output/term |
---|
19 | if [ $? == 0 ]; |
---|
20 | then echo $(basename $PWD) ": Success"; |
---|
21 | else echo $(basename $PWD) ": Failure"; |
---|
22 | fi; |
---|
Note: See
TracBrowser
for help on using the repository browser.