]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/lib.sh
Minor fixes and additional graphs
[can-benchmark.git] / gw-tests / lib.sh
index fc12adea2c2dbd639b48f23aadf6919a4251ea81..5afc021109a9d8c1559678d739fef95a83ebfe19 100644 (file)
@@ -51,7 +51,7 @@ _plot() {
     rm -rf *.pdf *.png
     for i in "" $ADDITIONAL_PLOTS; do
        plot_cmds $i | sed -e "/set title/ s/[\"']\(.*\)[\"']/\"\1\\\\n{\/*0.75 (GW kernel $kvers, Traffic $traffic, Load $load)}\"/" > plot.gp
-       if [[ ! -s plot.gp ]]; then return; fi
+       if [[ ! -s plot.gp ]]; then continue; fi
        if [ -z "$OPT_NO_X11" ]; then
            echo "set terminal x11 enhanced; $(< plot.gp)" | gnuplot -persist
        fi
@@ -66,7 +66,6 @@ _plot() {
 #     echo 'set terminal pngcairo color enhanced size 150,105 font ",1";' \
 #      "$(< plot.gp)" | gnuplot > thumb/${testname}$i.png
     done
-
 }
 
 echo_plot() {