X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/05fba46905ad8dfb1275f394707837d5d514e473..fc0d7a8b33c57f63cbb15f7305c55cb287626bc2:/gw-tests/user-time.sh diff --git a/gw-tests/user-time.sh b/gw-tests/user-time.sh index e981d1a..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 @@ -23,15 +29,15 @@ plot_cmds() { min=$(head -n 1 user8-msgs.txt | awk '{ print $2 }') fi cat <