This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch bernie/jenkmarking-multinode in repository toolchain/abe.
The following commit(s) were added to refs/heads/bernie/jenkmarking-multinode by th [...] new aebc1d2 Alphabetise options aebc1d2 is described below
commit aebc1d2c4fba0ff25a9363e6c80b6e58b85f0f16 Author: Bernard Ogden bernie.ogden@linaro.org Date: Tue Jul 28 10:57:39 2015 +0200
Alphabetise options
Simple organisation reduces chance of introducing error in updates.
Change-Id: If08570604a7ea68c82617ed8d3b3f9570c470145 --- scripts/benchmark.sh | 20 ++++++++++---------- scripts/runbenchmark.sh | 12 ++++++------ 2 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/scripts/benchmark.sh b/scripts/benchmark.sh index bcc49f4..9c99946 100755 --- a/scripts/benchmark.sh +++ b/scripts/benchmark.sh @@ -89,14 +89,19 @@ keep= #'-p' (polite) - clean up and release target even if the [...] #'-k' (keep) - unconditionally keep target-side data and target target= post_target_cmd= -while getopts g:f:a:i:b:e:kpchs flag; do +while getopts a:b:ce:f:g:hi:kps flag; do case "${flag}" in - g) tag="${OPTARG}";; a) run_benchargs="${OPTARG}";; - s) skip_build=1;; - i) benchmark_gcc_path="`cd `dirname ${OPTARG}` && echo $PWD/`basename ${OPT [...] b) benchmark="${OPTARG}";; c) cautious=;; + e) post_target_cmd="${OPTARG}";; + f) compiler_flags="${OPTARG}";; + g) tag="${OPTARG}";; + h) + usage + exit 0 + ;; + i) benchmark_gcc_path="`cd `dirname ${OPTARG}` && echo $PWD/`basename ${OPT [...] k) if test x"${keep}" = 'x-p'; then echo '-k overriding earlier -p' @@ -116,12 +121,7 @@ while getopts g:f:a:i:b:e:kpchs flag; do keep='-p' echo 'Unconditional release (-p) set: data will be scrubbed and target rele [...] ;; - f) compiler_flags="${OPTARG}";; - e) post_target_cmd="${OPTARG}";; - h) - usage - exit 0 - ;; + s) skip_build=1;; *) echo "Bad arg" 1>&2 exit 1 diff --git a/scripts/runbenchmark.sh b/scripts/runbenchmark.sh index a67379c..6301138 100755 --- a/scripts/runbenchmark.sh +++ b/scripts/runbenchmark.sh @@ -19,17 +19,17 @@ cautious='' build_dir= run_benchargs= post_target_cmd= -while getopts g:b:d:t:e:a:kpc flag; do +while getopts a:b:cd:e:g:kpt: flag; do case "${flag}" in + a) run_benchargs="${OPTARG}";; + b) benchmark="${OPTARG}";; + c) cautious='-c';; + d) device="${OPTARG}";; + e) post_target_cmd="${OPTARG}";; g) tag="${OPTARG}";; k) keep='-k';; p) keep='-p';; - c) cautious='-c';; - b) benchmark="${OPTARG}";; - d) device="${OPTARG}";; t) buildtar="${OPTARG}";; - a) run_benchargs="${OPTARG}";; - e) post_target_cmd="${OPTARG}";; *) echo "Bad arg" 1>&2 exit 1