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