diff options
-rwxr-xr-x | tcwg-benchmark.sh | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/tcwg-benchmark.sh b/tcwg-benchmark.sh index 145791a2..b360b5b7 100755 --- a/tcwg-benchmark.sh +++ b/tcwg-benchmark.sh @@ -272,6 +272,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 @@ -349,13 +351,24 @@ if [ $res != 0 ]; then exit $EXTERNAL_FAIL fi +# Launch prepare-board from docker host (only 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" & |