X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/52635808ae22d26ce0d4a7636b3b737b0a2dba1e..450ecb938ee35fdc01f9b022389e7986aa2cb9ca:/ugw/data/bench-all.sh diff --git a/ugw/data/bench-all.sh b/ugw/data/bench-all.sh index fa6cd93..e11b13f 100755 --- a/ugw/data/bench-all.sh +++ b/ugw/data/bench-all.sh @@ -1,14 +1,16 @@ #!/bin/bash set -x +set -e -methods=${@:-rtems kernel read-write mmap-write mmapbusy-write mmapbusy-mmap readbusy-write} +methods=${@:-rtems kernel read-write readnb-write mmap-write mmapbusy-write mmapbusy-mmap readbusy-write} for method in $methods; do case $method in rtems) ../../rtems/gw/boot --expect '"]", sub { shift->send_slow(0.1, "startGW\n"); }' --exiton 'tasks started';; kernel) ../ppc/boot -a kernelgw --exiton "Kernel GW started";; read-write) ../ppc/boot --exiton "UGW started";; + readnb-write) ../ppc/boot -a "ugw=|-n|" --exiton "UGW started";; mmap-write) ../ppc/boot -a "ugw=|-r mmap|" --exiton "UGW started";; mmapbusy-write) ../ppc/boot -a "ugw=|-r mmapbusy|" --exiton "UGW started";; mmapbusy-mmap) ../ppc/boot -a "ugw=|-r mmapbusy -t mmap|" --exiton "UGW started";;