]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/vcan.sh
Adds automatic update of copyright notice.
[can-benchmark.git] / gw-tests / vcan.sh
index 12a599b56ae2cd08c5aecb5f0754a79a39f11b0a..64ff58b474ba8b59c5a0709b8b8c00fb683dccb2 100755 (executable)
@@ -5,6 +5,10 @@
 numjobs=`seq 0 2 10`
 
 main() {
+    if [ "$kvers" = 3.0.4-rt14-00008-gb2052fd -a "$load" = eth -a $traffic != oneatatime ]; then echo "Skipping eth test"; SKIPPED=1; return; fi
+
+    if [ "$kvers" = 3.4.33-rt47-00004-gc58c9ae ]; then echo "Skipping test"; SKIPPED=1; return; fi; #All frames of these tests are returned as invalid...
+
     sshgw 'ip link add dev vcan0 type vcan && ip link set vcan0 up'
     for i in $numjobs; do
        cleanupgw
@@ -23,7 +27,7 @@ ADDITIONAL_PLOTS=detail
 
 plot_cmds() {
     if [[ "$1" = detail ]]; then
-       range=0.1:0.4
+       range=0:0.4
        echo "set logscale y"
        echo "set mxtics "
     else
@@ -33,8 +37,8 @@ plot_cmds() {
     cat <<EOF
 set title "Chained GWs on a single VCAN interface"
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
-set xlabel "Time [ms]"
-set ylabel "Latency profile [messages]"
+set xlabel "GW latency [ms]"
+set ylabel "Latency profile [frames]"
 plot [$range] [1:$COUNT] \\
 EOF
     lt=2