X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/c7c007d05a5ac9c7fcb48d31172c2b6e1490ce05..bacefba61066aae94dc9ec031d1723b344a49151:/tests/_lib.sh diff --git a/tests/_lib.sh b/tests/_lib.sh index 64620c0..0df9d91 100644 --- a/tests/_lib.sh +++ b/tests/_lib.sh @@ -100,8 +100,9 @@ kvers() { } plot() { - for i in "${!PLOT_CMD[@]}"; do - cmd="${PLOT_CMD[$i]}"; +# for i in "${!PLOT_CMD[@]}"; do + for i in 0; do + cmd=`p` # Get plot commands cmd=$(echo "$cmd" | sed -e "/set title/ s/[\"']\(.*\)[\"']/'\1 ($(kvers), CPU\\\\@${clk}Mhz)'/") if [ -z "$OPT_NO_X11" ]; then echo "set terminal x11 enhanced; ${cmd}" | gnuplot -persist