diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2021-07-08 12:43:39 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2021-07-08 12:45:39 +0000 |
commit | 6b3145f01cdcf1e45adbf2d3bea2f63969fa0281 (patch) | |
tree | 947553685dbdf99a5e2f654da336a7bd735f9773 | |
parent | ab58f075e3218dc1e7a62f95417c5f76149266e8 (diff) |
tcwg_gnu-build.sh: Don't count extra or missing .sum files as failures
... because we can add or remove testsuites, as is the case with
Go tests.
Change-Id: I339adb8c6d01630e6f0aa56ec9c4488b7f0ae8a5
-rwxr-xr-x | tcwg_gnu-build.sh | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tcwg_gnu-build.sh b/tcwg_gnu-build.sh index 3dc983f9..92d347c2 100755 --- a/tcwg_gnu-build.sh +++ b/tcwg_gnu-build.sh @@ -154,12 +154,10 @@ no_regression_p () # Handle return codes in the same way as in compare_jobs.sh from # gcc-compare-results case $res1:$res2 in - # No change or improvement - 0:0|1:0) - res=0 - ;; - # Regression, No common logs, extra logs or build failed - *) + 0:0) res=0 ;; # No change + 1:0) res=0 ;; # Improvement + 4:0) res=0 ;; # Extra or missing logs + *) # Regression, no common logs or build failed res=1 local reg_lines for i in 1 2; do |