diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2017-09-18 10:57:19 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2017-09-20 06:33:15 +0000 |
commit | fba53ca9c180c68b5d53f90fdd75c4e4b989372c (patch) | |
tree | 7f108871908fbe674424bfbd714de5125b447f1b /tcwg-benchmark.sh | |
parent | b4fd83376d452ab8658bc1627ab89de15566a843 (diff) |
tcwg-benchmark.sh: Fix handling of ignore_errors .
The boolean parameter "ignore_errors" is always defined to either
"true" or "false", so checking for it being undefined is wrong.
Pass ignore_errors to the run script as is.
Change-Id: If500e7ec8b98c2122f5ae518415d4d9170d23188
Diffstat (limited to 'tcwg-benchmark.sh')
-rwxr-xr-x | tcwg-benchmark.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcwg-benchmark.sh b/tcwg-benchmark.sh index a2a98ce6..8adb8c83 100755 --- a/tcwg-benchmark.sh +++ b/tcwg-benchmark.sh @@ -131,7 +131,7 @@ build_container_exec ssh -t "$boardname" bmk-scripts/run.sh \ --cflags "$(printf '%q' "$cflags")" \ --ccprefix "$ccprefix" \ --extension "$extension" \ - "${ignore_errors:+--ignore_errors}" \ + --ignore_errors "$ignore_errors" \ --input_size "$input_size" \ --iterations "$iterations" \ --run_profile "$run_profile" \ |