X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/77175b3f2b31d6bdf53727873d515667cbd8d1b4..597f695d267970a7dd260f938e50efadc4fefa7d:/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 <