diff options
author | Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> | 2019-02-07 16:20:18 +0530 |
---|---|---|
committer | Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> | 2019-02-07 16:20:18 +0530 |
commit | a797f90814f5b0b8f31d4e97c3cf72db84f04d31 (patch) | |
tree | 34228ab2954688c722ff2329950ba02fa4c2c21b | |
parent | 63b4d3d5e1d892ee5e0ac84a9f7dc740239da8d3 (diff) |
Remove uses of results_id and BUILD_NUMBER.
Change-Id: I05cc8f40aaef1b56d32684b30ad70a8f86cf5bc9
-rwxr-xr-x | tcwg_gnu-build.sh | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/tcwg_gnu-build.sh b/tcwg_gnu-build.sh index c9f9e1c4..a7d0a94e 100755 --- a/tcwg_gnu-build.sh +++ b/tcwg_gnu-build.sh @@ -7,8 +7,7 @@ scripts=$(dirname $0) convert_args_to_variables "$@" -obligatory_variables rr[ci_config] \ - BUILD_NUMBER +obligatory_variables rr[ci_config] # Execution mode: baseline, bisect, continue, jenkins-full rr[mode]="${rr[mode]-baseline}" @@ -41,8 +40,6 @@ finish_at="${finish_at-default}" verbose="${verbose-true}" verbose2="${verbose2-false}" -results_id="tx1/${rr[ci_project]}/${rr[ci_config]}-$BUILD_NUMBER" - if $verbose2; then set -x; fi trap "eval \"echo ERROR at \${FUNCNAME[0]}:\${BASH_LINENO[0]}\"" EXIT @@ -102,20 +99,7 @@ no_regression_p () return 1 fi - if ! [ -f base-artifacts/results_id ]; then - return 0 - fi - - local results_ref - results_ref=$(cat base-artifacts/results_id) - - $scripts/tcwg-benchmark-results.sh --results_ref $results_ref --results_id $results_id --top_artifacts "${rr[top_artifacts]}" --verbose $verbose - - while IFS=, read -r bmk symbol speed size; do - if [ "$size" -gt 100 ]; then - return 1 - fi - done < ${rr[top_artifacts]}/results.csv + return 0 ) } |