diff options
| author | Bryan C. Mills <bcmills@google.com> | 2023-04-24 10:09:17 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-04-24 20:39:25 +0000 |
| commit | 3f987ae61d4c52ddc364abf6472227d7821c9e43 (patch) | |
| tree | 2b66b8edd4a62fb40173333c6061f7d0e870c759 /src/internal/testenv/exec.go | |
| parent | a8af76284d4dadc7720b69cc3e1882865ce509e5 (diff) | |
| download | go-3f987ae61d4c52ddc364abf6472227d7821c9e43.tar.xz | |
internal/testenv: actually try to exec on ios and wasm
Due to a stray edit in CL 486275, the assignment to tryExecOk
in tryExec on ios would be immediately overwritten back to false.
This change fixes the stray edit.
Change-Id: I4f45fbf130dc912305e5f453b0d1a622ba199ad4
Reviewed-on: https://go-review.googlesource.com/c/go/+/488076
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Diffstat (limited to 'src/internal/testenv/exec.go')
| -rw-r--r-- | src/internal/testenv/exec.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/testenv/exec.go b/src/internal/testenv/exec.go index 948e0f29f8..882791ddca 100644 --- a/src/internal/testenv/exec.go +++ b/src/internal/testenv/exec.go @@ -74,7 +74,7 @@ func init() { cmd := exec.Command(exe, "-test.list=^$") cmd.Env = origEnv if err := cmd.Run(); err == nil { - tryExecOk = true + return true } return false } |
