diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2020-03-17 13:07:01 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2020-03-22 12:02:08 +0000 |
commit | f8c64dd09a2e99af95c4a739b706e958d6f16d8a (patch) | |
tree | 99fbd184a67250f2b827c3882c5d15be25e285b0 /tcwg_gnu-build.sh | |
parent | 8b1f705fb3f331013cc14402bb199248a17ce7c2 (diff) |
round-robin.sh: Avoid changing top-level artifacts in no_regression_p predicate
The no_regression_p() predicate function is called from two steps:
check_regression and update_baseline. While we want no_regression_p
to output regression info during check_regression step, we don't want
that during update_baseline (during update_baseline no_regression_p
is called to compare current results against pre-baseline ones).
To fix the above we generate regression information in artifacts
directory of the current step, and copy it to the top-level only
during check_regression step.
Change-Id: Ib03d82f7afe60c406c7942f2fa086855df371171
Diffstat (limited to 'tcwg_gnu-build.sh')
-rwxr-xr-x | tcwg_gnu-build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcwg_gnu-build.sh b/tcwg_gnu-build.sh index bb42040a..a81b2076 100755 --- a/tcwg_gnu-build.sh +++ b/tcwg_gnu-build.sh @@ -105,7 +105,7 @@ no_regression_p () # We use GCC's comparison script, so make sure we have a copy (may # not be the case when we are just checking binutils) clone_or_update_repo gcc master git://gcc.gnu.org/git/gcc.git - gcc/contrib/compare_tests $sumfiles_base $sumfiles_new | tee $new_artifacts/regressions.txt & + gcc/contrib/compare_tests $sumfiles_base $sumfiles_new | tee $run_step_artifacts/regressions.txt & res=0 && wait $! || res=$? if [ $res -ne 0 ]; then |