X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/73b462ca6989b649936b8077059ede195546e813..597f695d267970a7dd260f938e50efadc4fefa7d:/gw-tests/nop-time.sh diff --git a/gw-tests/nop-time.sh b/gw-tests/nop-time.sh index 585d733..dea1483 100755 --- a/gw-tests/nop-time.sh +++ b/gw-tests/nop-time.sh @@ -3,7 +3,13 @@ . lib.sh main() { - ln -s ../nop/*.txt . + #Check that the test wasn't skipped. + if [ "$(ls -A ../nop)" ]; then + #Otherwise this would create *.txt file and plot.sh and break the automation + ln -s ../nop/*.txt . + else + SKIPPED=1; return; + fi; } ADDITIONAL_PLOTS=detail