From: Michal Sojka Date: Thu, 27 Aug 2009 13:57:26 +0000 (+0200) Subject: Minor fixes X-Git-Tag: fix-allnoconfig~375 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/commitdiff_plain/2aab3d26a1b10dbb775055afe4a02e1980d67d67 Minor fixes --- diff --git a/tests/_lib.sh b/tests/_lib.sh index 1661814..6327026 100644 --- a/tests/_lib.sh +++ b/tests/_lib.sh @@ -11,8 +11,8 @@ set -e PATH=$PWD/../_compiled/bin/:$PATH -RTPRIO=60 -COUNT=10000 +RTPRIO=${RTPRIO:-60} +COUNT=${COUNT:-10000} boost_irq_prio() { local PRIO=${1:-50} @@ -78,6 +78,7 @@ run_tests() { for tst in $tests; do boost_irq_prio 50 || true prepare_$tst + echo "----------------------" t done } @@ -119,8 +120,10 @@ create_dirs_and_links() { } go() { + echo "####################" mhz=${MHZ:-2400 300} for clk in $mhz; do + echo "====================" dir=$(create_dirs_and_links `basename $0 .sh` `uname -r` $clk) set -x pushd $dir diff --git a/tests/rtt.sh b/tests/rtt.sh index 757ff45..f0ce667 100755 --- a/tests/rtt.sh +++ b/tests/rtt.sh @@ -17,12 +17,12 @@ set grid set xlabel "Time [{/Symbol m}s]" set ylabel "Latency profile [messages]" plot [0:] "socketcan-1000.dat" with lp title "Socketcan",\ - "lincan-1000.dat" with lp title "Lincan" + "lincan-1000.dat" with lp title "Lincan" ' PLOT_CMD[1]=' set title "Round-trip time history" -set logscale xy +set logscale y set grid set xlabel "Ping number" set ylabel "Round-trip time [{/Symbol m}s]"