X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/4bcafe205c56626b3d549b39d24ff4f033563d84..8340d0e1199ab3ce2750d2d705b34c7a70f589a2:/gw-tests/lib.sh diff --git a/gw-tests/lib.sh b/gw-tests/lib.sh index f4e74ac..4c4274d 100644 --- a/gw-tests/lib.sh +++ b/gw-tests/lib.sh @@ -88,7 +88,7 @@ _measure() { export hostkvers=$hostkvers export traffic=$traffic cd \$(dirname \$0)/$(dirname $script) - exec ./$(basename $script) --plot + exec ./$(basename $script) --plot "\$@" EOF chmod +x plot.sh # Set can interfaces up @@ -126,14 +126,9 @@ _run() { _measure fi if [[ ! "$OPT_PLOT_DISABLE" ]]; then - if [[ "$OPT_PLOT_ONLY" ]]; then - _plot - else - # Call ourselves once again - ./plot.sh - fi + _plot fi - cd - + cd - > /dev/null done }