]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/lib.sh
Add links to script sources
[can-benchmark.git] / gw-tests / lib.sh
index b5719967dead0817b43ef598306a98240aab1cde..5108f8d7d0b3568193a6585869bee86d4e5e78d3 100644 (file)
@@ -121,14 +121,14 @@ _run() {
        mkdir -p $dir
        script=$(echo $dir | sed -e 's/[^/]*/../g')/${test}.sh
        cd $dir
-       echo "Working directory: $dir"
        if [[ ! "$OPT_PLOT_ONLY" ]]; then
+           echo "Working directory: $dir"
            _measure
        fi
        if [[ ! "$OPT_PLOT_DISABLE" ]]; then
            _plot
        fi
-       cd -
+       cd - > /dev/null
     done
 }