This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch inserted_src in repository toolchain/semiautobench.
commit ef5f9afd8baef449279ea2c5fcc55c2e9419e1bf Author: Bernard Ogden bernie.ogden@linaro.org Date: Mon Jul 13 18:25:26 2015 +0200
Figure out targets at runtime
Change-Id: I719bc3831a5e0f664125fd9b13f24d15dcb874e2 --- invoke_session_debian | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/invoke_session_debian b/invoke_session_debian index 20bae19..319bde4 100755 --- a/invoke_session_debian +++ b/invoke_session_debian @@ -87,7 +87,13 @@ echo $$ > /run/hacking/hacking.pid
echo "Running benchmark... I may be some time" export LAVA_IN_LAB=1 -"${ABE_DIR}"/scripts/Benchmark.job +lava-network collect +for target_hostname in `lava-group | grep ' *target$' | cut -d ' ' -f 1`; do + target="$(lava-network query "${target_hostname}" ipv4)" + type="$(echo "${target_hostname}" | sed 's/[[:digit::]]*$//')" #TODO: HACK + sed -i 's/^ip=.*/ip=${target}/' "${ABE_DIR}/config/boards/bench/${type}.json" + "${ABE_DIR}"/scripts/Benchmark.job +done
echo "All done, waiting user" sleep infinity