test: remove nacl checking condition
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>
diff --git a/test/fixedbugs/issue13268.go b/test/fixedbugs/issue13268.go
index 2a063fa..fcb69c9 100644
--- a/test/fixedbugs/issue13268.go
+++ b/test/fixedbugs/issue13268.go
@@ -17,16 +17,10 @@
"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 {
diff --git a/test/fixedbugs/issue21317.go b/test/fixedbugs/issue21317.go
index ee1bbf8..f4ec422 100644
--- a/test/fixedbugs/issue21317.go
+++ b/test/fixedbugs/issue21317.go
@@ -21,7 +21,7 @@
)
func main() {
- if runtime.Compiler != "gc" || runtime.GOOS == "nacl" || runtime.GOOS == "js" {
+ if runtime.Compiler != "gc" || runtime.GOOS == "js" {
return
}
diff --git a/test/fixedbugs/issue22660.go b/test/fixedbugs/issue22660.go
index b2282ea..44ba42a 100644
--- a/test/fixedbugs/issue22660.go
+++ b/test/fixedbugs/issue22660.go
@@ -19,7 +19,7 @@
)
func main() {
- if runtime.GOOS == "nacl" || runtime.GOOS == "js" {
+ if runtime.GOOS == "js" {
return // no file system available on builders
}
diff --git a/test/fixedbugs/issue22662b.go b/test/fixedbugs/issue22662b.go
index 2678383..0fcfe8d 100644
--- a/test/fixedbugs/issue22662b.go
+++ b/test/fixedbugs/issue22662b.go
@@ -36,7 +36,7 @@
}
func main() {
- if runtime.GOOS == "nacl" || runtime.GOOS == "js" {
+ if runtime.GOOS == "js" {
return // can not exec go tool
}
diff --git a/test/fixedbugs/issue9355.go b/test/fixedbugs/issue9355.go
index 2498bf6..ab3369d 100644
--- a/test/fixedbugs/issue9355.go
+++ b/test/fixedbugs/issue9355.go
@@ -17,7 +17,7 @@
)
func main() {
- if runtime.Compiler != "gc" || runtime.GOOS == "nacl" || runtime.GOOS == "js" {
+ if runtime.Compiler != "gc" || runtime.GOOS == "js" {
return
}