Change information
Commit message:
internal/relui, internal/task: keep parent PATH, add skip if no python3
Improve the ability of tests to run in more environments. In the general
case, it's not viable to assume that replacing the parent environment's
PATH with '/bin:/usr/bin' will work, it can cause some commands like git
to be in PATH (defeating the t.Skip) yet its sub-commands can break.
Also add a missing skip when python3 isn't in PATH, since makeScript has
it as a dependency.
For golang/go#61112.
Change-Id: I623ed400c2f93c86f53e20ea7d7bfe04aefc2596
Cq-Include-Trybots: luci.golang.try:x_build-gotip-linux-amd64_debiansid
Files:
- M internal/relui/buildrelease_test.go
- M internal/task/fakes.go
Change size: S
Delta: 2 files changed, 10 insertions(+), 2 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +2 by Michael Pratt, +1 by Dmitri Shuralyov
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI