aboutsummaryrefslogtreecommitdiff
path: root/automated/android
diff options
context:
space:
mode:
authorJulien Duraj <julien.duraj@linaro.org>2019-09-11 10:25:03 +0100
committermwasilew <milosz.wasilewski@linaro.org>2019-09-11 14:30:52 +0100
commitc73b394d3d8801e597aafc2725f3c2d534ca3a49 (patch)
treeeba94c707fb5f2fd686177d8f735efcd5327c24b /automated/android
parentc4aa07aef7a8619505ba7c9eaee85e447db8e652 (diff)
uBenchmarks: provide target-device manually
The script now autodetects the device, and could result in using binaries in a non-existing location.
Diffstat (limited to 'automated/android')
-rwxr-xr-xautomated/android/microbenchmarks/microbenchmarks.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/automated/android/microbenchmarks/microbenchmarks.sh b/automated/android/microbenchmarks/microbenchmarks.sh
index e306189..b4e2bbf 100755
--- a/automated/android/microbenchmarks/microbenchmarks.sh
+++ b/automated/android/microbenchmarks/microbenchmarks.sh
@@ -74,7 +74,8 @@ sed -i "s| /data/local/tmp/system| /data/local/tmp/system > /dev/null|g" scripts
sed -i "s| /data/art-test| /data/art-test > /dev/null|g" scripts/benchmarks/benchmarks_run_target.sh
sed -i "s|mode \"\$1\"|mode \"\$1\" --noverbose|g" scripts/benchmarks/benchmarks_run_target.sh
export OUT=${PWD}/out/target/product/${LUNCH_TARGET}/
-./scripts/benchmarks/benchmarks_run_target.sh --skip-build true --iterations "${ITERATIONS}" --mode "${MODE}"
+./scripts/benchmarks/benchmarks_run_target.sh --skip-build true --iterations "${ITERATIONS}" \
+ --mode "${MODE}" --target-device "${LUNCH_TARGET}"
if [ -n "${ART_TOKEN}" ]; then
git clone https://git.linaro.org/qa/post-build-report.git pbr; mkdir -p pbr/artifacts/