summaryrefslogtreecommitdiff
path: root/tcwg_gnu-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tcwg_gnu-build.sh')
-rwxr-xr-xtcwg_gnu-build.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/tcwg_gnu-build.sh b/tcwg_gnu-build.sh
index 6a93948c..5447af6b 100755
--- a/tcwg_gnu-build.sh
+++ b/tcwg_gnu-build.sh
@@ -102,9 +102,11 @@ no_regression_p ()
fi
local res
- # 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
+ if ! echo "${rr[components]}" | tr ' ' '\n' | grep -q "^gcc\$"; then
+ # 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
+ fi
gcc/contrib/compare_tests $sumfiles_base $sumfiles_new \
| sed -e "s/^/# /" | tee $run_step_artifacts/results.regressions &
res=0 && wait $! || res=$?