]> Cypherpunks repositories - gostls13.git/commitdiff
test: remove nacl checking condition
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Sat, 22 Aug 2020 16:26:32 +0000 (23:26 +0700)
committerCuong Manh Le <cuong.manhle.vn@gmail.com>
Sun, 23 Aug 2020 05:24:15 +0000 (05:24 +0000)
go1.14 drop nacl support, as go1.15 was released, go1.13 is not
supported anymore, nacl is absolutely gone.

Change-Id: I05efb46891ec875b08da8f2996751a8e9cb57d0c
Reviewed-on: https://go-review.googlesource.com/c/go/+/249977
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
test/fixedbugs/issue13268.go
test/fixedbugs/issue21317.go
test/fixedbugs/issue22660.go
test/fixedbugs/issue22662b.go
test/fixedbugs/issue9355.go

index 2a063fa60c78732f09b71e3a8681854e2bcbc461..fcb69c90682f9338a4392610707148909ae790e1 100644 (file)
@@ -17,16 +17,10 @@ import (
        "log"
        "os"
        "os/exec"
-       "runtime"
        "strings"
 )
 
 func main() {
-       // cannot use temp file on nacl via child process
-       if runtime.GOOS == "nacl" {
-               return
-       }
-
        // create source
        f, err := ioutil.TempFile("", "issue13268-")
        if err != nil {
index ee1bbf810b9eda49c48fa9bf878b2c76e71daaf0..f4ec422371349079eda33dbd999fc9b493bdd7ce 100644 (file)
@@ -21,7 +21,7 @@ import (
 )
 
 func main() {
-       if runtime.Compiler != "gc" || runtime.GOOS == "nacl" || runtime.GOOS == "js" {
+       if runtime.Compiler != "gc" || runtime.GOOS == "js" {
                return
        }
 
index b2282ea66531ec640e97ed9d89217d0f1d6889af..44ba42ac968cca00dc93b8476e8954ae063399c1 100644 (file)
@@ -19,7 +19,7 @@ import (
 )
 
 func main() {
-       if runtime.GOOS == "nacl" || runtime.GOOS == "js" {
+       if runtime.GOOS == "js" {
                return // no file system available on builders
        }
 
index 2678383ab07750742e4e30271de159d04831e3ae..0fcfe8d0db6d9440a4f1582e904d40bb2b88638e 100644 (file)
@@ -36,7 +36,7 @@ var tests = []struct {
 }
 
 func main() {
-       if runtime.GOOS == "nacl" || runtime.GOOS == "js" {
+       if runtime.GOOS == "js" {
                return // can not exec go tool
        }
 
index 2498bf6a1beedec98f80d06ce81f2035750b4a3f..ab3369d415df19165c8d5be13084e66bb17192d2 100644 (file)
@@ -17,7 +17,7 @@ import (
 )
 
 func main() {
-       if runtime.Compiler != "gc" || runtime.GOOS == "nacl" || runtime.GOOS == "js" {
+       if runtime.Compiler != "gc" || runtime.GOOS == "js" {
                return
        }