Skip to content

Commit 3f987ae

Browse files
Bryan C. Millsgopherbot
Bryan C. Mills
authored andcommitted
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 <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Bryan Mills <[email protected]> Run-TryBot: Bryan Mills <[email protected]>
1 parent a8af762 commit 3f987ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/internal/testenv/exec.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func init() {
7474
cmd := exec.Command(exe, "-test.list=^$")
7575
cmd.Env = origEnv
7676
if err := cmd.Run(); err == nil {
77-
tryExecOk = true
77+
return true
7878
}
7979
return false
8080
}

0 commit comments

Comments
 (0)