X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/e027d3bf8362f509047541450650a93c7d0c5ea7..167bee35e3ffc6500bb52bbb91d3b423d2863abf:/gw-tests/filter-time.sh diff --git a/gw-tests/filter-time.sh b/gw-tests/filter-time.sh index cbee7ee..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)" @@ -14,22 +20,22 @@ ADDITIONAL_PLOTS=detail plot_cmds() { if [[ "$1" = detail ]]; then - range=0.36:0.8 + range=0:0.6 else - range=0.05:100 + range=0.01:100 echo "set logscale y" fi min=$(head -n 1 id-0-msgs.txt | awk '{ print $2 }') cat <