X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/2807b30a7f0a05c6c472346b8a1e925c26c46961..167bee35e3ffc6500bb52bbb91d3b423d2863abf:/gw-tests/user-time.sh diff --git a/gw-tests/user-time.sh b/gw-tests/user-time.sh index bf33108..c68408b 100755 --- a/gw-tests/user-time.sh +++ b/gw-tests/user-time.sh @@ -5,16 +5,22 @@ NO_GW_NEEDED=true main() { - ln -s ../user/*.txt . + #Check that the test wasn't skipped. + if [ "$(ls -A ../user)" ]; then + #Otherwise this would create *.txt file and plot.sh and break the automation + ln -s ../user/*.txt . + else + SKIPPED=1; return; + fi; } #ADDITIONAL_PLOTS=detail plot_cmds() { if [[ "$1" = detail ]]; then - range=0.06:0.3 + range=0.0:0.3 else - range=0.06:800 + range=0.01:800 echo "set logscale y" fi if [ -s user2-msgs.txt ]; then @@ -25,13 +31,13 @@ plot_cmds() { cat <