summaryrefslogtreecommitdiff
path: root/tcwg-benchmark.sh
diff options
context:
space:
mode:
authorLaurent Alfonsi <laurent.alfonsi@linaro.org>2022-03-17 18:25:56 +0100
committerLaurent Alfonsi <laurent.alfonsi@linaro.org>2022-04-13 11:45:58 +0000
commit2698ce07da143bb3d605cea84df29b4328ca971f (patch)
tree96d8900238a6135b522cb525460387d14e230a4e /tcwg-benchmark.sh
parentcac3b83a00fc7ff7030130d37ff9de94839c9b3e (diff)
tcwg-benchmark : add fx board, that use docker host to prepare the board
Change-Id: Ie1ea40cc4ea1ebabb203273f395a88642680151c
Diffstat (limited to 'tcwg-benchmark.sh')
-rwxr-xr-xtcwg-benchmark.sh15
1 files changed, 14 insertions, 1 deletions
diff --git a/tcwg-benchmark.sh b/tcwg-benchmark.sh
index 77921a20..2d5ec516 100755
--- a/tcwg-benchmark.sh
+++ b/tcwg-benchmark.sh
@@ -270,6 +270,8 @@ case "$hw_tag:$boardname:$image_arch" in
tk1_32:*-tk1-*:armhf) ;;
tx1_64:*-tx1-*:arm64) ;;
tx1_32:*-tx1-*:armhf) ;;
+ fx_32:*-fx-*:armhf) ;;
+ fx_64:*-fx-*:arm64) ;;
*)
echo "ERROR: results_id does not start with a valid hw_tag: $hw_tag"
exit 1
@@ -347,13 +349,24 @@ if [ $res != 0 ]; then
exit $EXTERNAL_FAIL
fi
+# Enable docker host for the moment only on fx_* and apm_*
+case "$hw_tag" in
+ fx_*) ;&
+ apm_*)
+ prepare_board_port="2222"
+ ;;
+ *)
+ prepare_board_port=""
+ ;;
+esac
+
if $prepare_board; then
# FIXME: Implement more configurations and checks:
# disable swap
# set interrupt affinity
# check that there are no stray processes
# test that taskset works
- remote_exec "$boardname:::-t -Snone" \
+ remote_exec "$boardname:$prepare_board_port::-t -Snone" \
sudo /usr/local/bin/benchmark.sh --hw_tag "$hw_tag" \
--action start_board --verbose \
--image "linaro/ci-$image_arch-tcwg-build-ubuntu:$bench_container_tag" &