X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/73b462ca6989b649936b8077059ede195546e813..597f695d267970a7dd260f938e50efadc4fefa7d:/gw-tests/user-time.sh diff --git a/gw-tests/user-time.sh b/gw-tests/user-time.sh index d7e095a..c68408b 100755 --- a/gw-tests/user-time.sh +++ b/gw-tests/user-time.sh @@ -5,7 +5,13 @@ 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