]> Cypherpunks repositories - gostls13.git/commitdiff
internal/testenv: actually try to exec on ios and wasm
authorBryan C. Mills <bcmills@google.com>
Mon, 24 Apr 2023 14:09:17 +0000 (10:09 -0400)
committerGopher Robot <gobot@golang.org>
Mon, 24 Apr 2023 20:39:25 +0000 (20:39 +0000)
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>

src/internal/testenv/exec.go

index 948e0f29f8f831a64b725b2c51b9ea8ab7989ecd..882791ddca12175fc9a4e34daee7438103700765 100644 (file)
@@ -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
        }