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 6566080643e82d8fd9c873727e1e68235e7ca48c 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 | 4 ++-- 2 files changed, 6 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..c493e9f 100755 --- a/scripts/Benchmark.job +++ b/scripts/Benchmark.job @@ -56,5 +56,5 @@ 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}" [...] +echo "${ABE_DIR}"/scripts/benchmark.sh -p ${BENCH_DEBUG:+-k} ${post_target_cmd:+-e [...] + "${ABE_DIR}"/scripts/benchmark.sh -p ${BENCH_DEBUG:+-k} ${post_target_cmd:+-e [...]