X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/6da4edf1dd641609f1b2c57d1c68fc5564df0919..167bee35e3ffc6500bb52bbb91d3b423d2863abf:/gw-tests/filter-time.sh diff --git a/gw-tests/filter-time.sh b/gw-tests/filter-time.sh index 865e1cc..ed500ac 100755 --- a/gw-tests/filter-time.sh +++ b/gw-tests/filter-time.sh @@ -5,7 +5,13 @@ NO_GW_NEEDED=true main() { - ln -s ../filter/*.txt . + #Check that the test wasn't skipped. + if [ "$(ls -A ../filter)" ]; then + #Otherwise this would create *.txt file and plot.sh and break the automation + ln -s ../filter/*.txt . + else + SKIPPED=1; return; + fi; } ids="0 $(seq 255 256 2047)" @@ -24,7 +30,7 @@ plot_cmds() { set title "2048 GW rules (one per id, mask 0x7FF), no modifications" set grid xtics ytics mytics lw 1, lw 0.5 set xlabel "Experiment time [s]" -set ylabel "Latency [ms]" +set ylabel "GW latency [ms]" plot [:] [$range] \\ EOF lt=1