Mostly yes: it does retry the whole build sequence, but there are a couple of correctness/robustness problems that can make retries behave differently than intended (and in one case can break parsing).
retrytestrunsdotest $lineup to 6 attempts (for i in {1..6}), despite the comment saying โRetry 5 timesโ.- Each attempt starts with
fail=0, thendotestruns:distclean- (if not skipped)
configure,build, optionalrun, thenrefresh
- If any of those set global
fail=1, the attempt is considered failed and it sleeps with exponential backoff and tries again.