summaryrefslogtreecommitdiff
path: root/tcwg-benchmark.sh
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2017-08-25 14:11:37 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2017-08-25 14:11:37 +0000
commit369815777eeff5aa5b1647d14eddb62a3346a729 (patch)
treed7e2cccccfd07c17b4e54c37e5f8e7bfe52eec91 /tcwg-benchmark.sh
parent6ee3c661d937449d3e027c40fcea3a5836ce51ae (diff)
tcwg-benchmark.sh: Support ignore_errors parameter.
Change-Id: Ie2b4cad1cdfba03c496d3a15a459abe678f113b5
Diffstat (limited to 'tcwg-benchmark.sh')
-rwxr-xr-xtcwg-benchmark.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcwg-benchmark.sh b/tcwg-benchmark.sh
index 69cfcc43..e45feea7 100755
--- a/tcwg-benchmark.sh
+++ b/tcwg-benchmark.sh
@@ -22,6 +22,7 @@ BUILD_NUMBER="$BUILD_NUMBER"
NODE_NAME="$NODE_NAME"
WORKSPACE="$WORKSPACE"
reboot="$reboot"
+ignore_errors="$ignore_errors"
# Jenkins doesn't define variables when parameter value is empty (like cflags),
# so enable "set -u" only after above binding of variables.
@@ -128,6 +129,7 @@ build_container_exec ssh -t "$boardname" bmk-scripts/run.sh \
--cflags "$(printf '%q' "$cflags")" \
--ccprefix "$ccprefix" \
--extension "$extension" \
+ "${ignore_errors:+--ignore_errors}" \
--input_size "$input_size" \
--iterations "$iterations" \
--run_profile "$run_profile" \