summaryrefslogtreecommitdiff
path: root/tcwg-buildfarm.sh
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2018-06-19 16:36:46 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2018-06-19 16:39:20 +0000
commit1595a80921c100592176f58a1927394030e0220a (patch)
tree7fcbe3bd430874516cc515d288fc50a8265f1a7e /tcwg-buildfarm.sh
parentb540da6d30e05e22c22e7651efc27ed6b395911f (diff)
tcwg-buildfarm.sh: Fix computation of qemu_cpu.
Definition of qemu_cpu should be executed for all targets, as we always pass the option to jenkins.sh. Change-Id: I434c86750997d9bed8ce328aba56573555167786
Diffstat (limited to 'tcwg-buildfarm.sh')
-rwxr-xr-xtcwg-buildfarm.sh21
1 files changed, 10 insertions, 11 deletions
diff --git a/tcwg-buildfarm.sh b/tcwg-buildfarm.sh
index c1cdf6a0..7e6f89d9 100755
--- a/tcwg-buildfarm.sh
+++ b/tcwg-buildfarm.sh
@@ -47,6 +47,7 @@ else
fi
runtests_opt=""
+qemu_cpu=""
if echo $runtests | grep -q $target; then
runtests_opt="--runtests"
@@ -60,18 +61,16 @@ if echo $runtests | grep -q $target; then
fi
. ./test-container.sh
runtests_opt="$runtests_opt --testcontainer ${test_container_host}:${test_container_port}"
-
- # Define qemu_cpu even if testing will not use it (it's
- # ignored in such cases)
- # Choose values matching what we have in testing boards
- qemu_cpu=""
- case ${target} in
- armv8*) qemu_cpu=cortex-a57 ;;
- arm*) qemu_cpu=cortex-a15 ;;
- aarch64*) qemu_cpu=cortex-a57 ;;
- esac
- [ "x${qemu_cpu}" != X ] && qemu_cpu="--qemu-cpu ${qemu_cpu}"
fi
+ # Define qemu_cpu even if testing will not use it (it's
+ # ignored in such cases)
+ # Choose values matching what we have in testing boards
+ case ${target} in
+ armv8*) qemu_cpu=cortex-a57 ;;
+ arm*) qemu_cpu=cortex-a15 ;;
+ aarch64*) qemu_cpu=cortex-a57 ;;
+ esac
+ [ "x${qemu_cpu}" != "x" ] && qemu_cpu="--qemu-cpu ${qemu_cpu}"
fi
if [ "x${send_results_to}" != x ]; then