This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch bernie/benchmarking-agents in repository toolchain/abe.
commit 0e228e7a0bf34a6234995905078fe44ff4998476 Author: Bernard Ogden bernie.ogden@linaro.org Date: Thu Jul 30 16:53:07 2015 +0200
Put all exports for Benchmark.job in same place
Only exports which actually cannot go at the beginning are still elsewhere.
Change-Id: Ic412d2cc5783ce83055203466b9280b9e952f3c5 --- config/bench/lava/host-session | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/config/bench/lava/host-session b/config/bench/lava/host-session index 8646b3f..f4edc8c 100755 --- a/config/bench/lava/host-session +++ b/config/bench/lava/host-session @@ -38,6 +38,13 @@ else export compiler_flags="$5" fi
+#Non-parameters that we need to pass to Benchmark.job +export ABE_DIR +export post_target_cmd='touch ${HOME}/messages/release' +export maindir="/${HOME}/bench" +mkdir "${maindir}" || exit 1 +chmod 700 "${maindir}" || exit 1 + #Create directory to store src if ! (mkdir ~/benchsrc && chmod 700 ~/benchsrc); then echo "Failed to create directory for source" >&2 @@ -117,12 +124,7 @@ done #Don't need the agent any more, kill the socket rm ~/data/socket
-export ABE_DIR export targets="${target_names[@]}" -export maindir="/${HOME}/bench" -export post_target_cmd='touch ${HOME}/messages/release' -mkdir "${maindir}" -chmod 700 "${maindir}"
echo "Running benchmark... I may be some time" if ! "${ABE_DIR}"/scripts/Benchmark.job; then