Closed
Description
As part of working on resolving issues #32528, #30233, and #34190, I've made incremental changes to the runSubrepoTests
method with the goal of keeping each diff minimal and easy to be confident in. By the end, the method has become quite large as it now deals with both module and GOPATH modes, with local variables spanning large parts of the code.
I've attempted to factor out parts of the method into smaller pieces in CL 194684, but in the short time I had, couldn't get to an outcome that was an improvement. Part of the problem was the difficulty of creating helpers methods due to dual-error return pattern that's prevalent. That's issue #34246, it probably needs to be tackled before or at the same time as this.