diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2019-10-17 08:23:34 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2019-10-17 08:23:34 +0000 |
commit | 5fe7960d523370220105d5c245bcd723eb0b385b (patch) | |
tree | 7b2507954378bb1aec5456c968550296f4a71d66 | |
parent | 49512b74cba552ef8274de32008027a962daa798 (diff) |
tcwg_bmk-build.sh: Add more comments
Change-Id: If952d6851add543bbbd149968c6279a484c4cfac
-rwxr-xr-x | tcwg_bmk-build.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tcwg_bmk-build.sh b/tcwg_bmk-build.sh index d862b2c2..82a29980 100755 --- a/tcwg_bmk-build.sh +++ b/tcwg_bmk-build.sh @@ -244,7 +244,8 @@ compare_results () local bmk symbol time size result echo "bmk,symbol,result" > $run_step_artifacts/results-compare.csv - # Skip header line + # Read result lines from <(tail -n +2 ...) below. + # "-n +2" is to skip the header line. while IFS=, read -a arr; do bmk=${arr[0]} symbol=${arr[1]} @@ -332,6 +333,9 @@ no_regression_vs_p () local -a arr local bmk symbol result status + # Read result lines from <(tail -n +2 ...) below. + # "-n +2" is to skip the header line. Set $status to "1" if there is + # a regression. status=0 while IFS=, read -a arr; do bmk=${arr[0]} @@ -365,6 +369,9 @@ no_regression_to_base_p () local bmk symbol result status + # Read result lines from <(tail -n +2 ...) below. + # "-n +2" is to skip the header line. Set $status to "1" if there is + # a regression. status=0 while IFS=, read -r bmk symbol result; do if ! [ "$result" -le "50" ]; then |