From: Michal Sojka Date: Tue, 30 Nov 2010 09:16:26 +0000 (+0100) Subject: test scripts: Handle plotting swicthes X-Git-Tag: fix-allnoconfig~310 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/commitdiff_plain/cbabf3384f02fbbee23d3678a0ab12d0c459938a test scripts: Handle plotting swicthes --- diff --git a/gw-tests/lib.sh b/gw-tests/lib.sh index cc5f1b6..a20f791 100644 --- a/gw-tests/lib.sh +++ b/gw-tests/lib.sh @@ -1,5 +1,13 @@ set -e +while [ $# -gt 0 ]; do + case "$1" in + -P) OPT_PLOT_DISABLE=1; shift;; + -p) OPT_PLOT_ONLY=1; shift;; + -X|--no-x11-plot) OPT_NO_X11=1; shift;; + esac +done + PATH=$PWD/../_compiled/bin/:$PATH COUNT=10000