This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch bernie/benchmarking in repository toolchain/abe.
commit 05d43eb81d014bcd9ed9091d9797723e6bcad2a1 Author: Bernard Ogden bernie.ogden@linaro.org Date: Tue Jul 28 16:10:42 2015 +0200
Benchmark.job removes files from targets unless BENCH_DEBUG is given
Change-Id: Ifdec389376c019707d79fa9eef38283444fa2c89 --- config/bench/lava/host-session | 5 ++++- scripts/Benchmark.job | 9 +++++++-- 2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/config/bench/lava/host-session b/config/bench/lava/host-session index a9283e4..6cbc603 100755 --- a/config/bench/lava/host-session +++ b/config/bench/lava/host-session @@ -3,10 +3,13 @@ set -u set -o pipefail
error=1 +if test x"${BENCH_DEBUG}" = x || test x"${BENCH_DEBUG}" = xNone; then + export BENCH_DEBUG= +fi
function exitfunc { if test ${error} -ne 0; then - if test x"${BENCH_DEBUG}" != x && test x"${BENCH_DEBUG}" != xNone; then + if test x"${BENCH_DEBUG}" != x; then echo "Trapped exit with error ${error}" echo "Sleeping for debug" echo "ssh -o ControlMaster=no -o ControlPath=/dev/null `hostname -I | tr -d [...] diff --git a/scripts/Benchmark.job b/scripts/Benchmark.job index 7dedcb6..8e320f1 100755 --- a/scripts/Benchmark.job +++ b/scripts/Benchmark.job @@ -56,5 +56,10 @@ echo cd "${maindir}" echo "${ABE_DIR}"/configure --with-fileserver=148.251.136.42 --with-remote-snapsho [...] "${ABE_DIR}"/configure --with-fileserver=148.251.136.42 --with-remote-snapsho [...]
-echo "${ABE_DIR}"/scripts/benchmark.sh ${post_target_cmd:+-e "${post_target_cmd}\ [...] - "${ABE_DIR}"/scripts/benchmark.sh ${post_target_cmd:+-e "${post_target_cmd}" [...] +if test x"${BENCH_DEBUG:-}" = x; then + politeness='-p' +else + politeness= +fi +echo "${ABE_DIR}"/scripts/benchmark.sh ${politeness:-} ${post_target_cmd:+-e "${p [...] + "${ABE_DIR}"/scripts/benchmark.sh ${politeness:-} ${post_target_cmd:+-e "${p [...]