X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/997d6963de55e9c22af923a1a63d070c133516e5..b1cad43854f775cfd8bbab0d8279758b00e2b2b6:/gw-tests/filter-time.sh diff --git a/gw-tests/filter-time.sh b/gw-tests/filter-time.sh index c23a3b0..ed500ac 100755 --- a/gw-tests/filter-time.sh +++ b/gw-tests/filter-time.sh @@ -5,7 +5,13 @@ NO_GW_NEEDED=true main() { - ln -s ../filter/*.txt . + #Check that the test wasn't skipped. + if [ "$(ls -A ../filter)" ]; then + #Otherwise this would create *.txt file and plot.sh and break the automation + ln -s ../filter/*.txt . + else + SKIPPED=1; return; + fi; } ids="0 $(seq 255 256 2047)"