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>
This commit is contained in:
Cuong Manh Le 2020-08-22 23:26:32 +07:00
Родитель 8acbe4c0b3
Коммит 0c3bf27b97
5 изменённых файлов: 4 добавлений и 10 удалений

Просмотреть файл

@ -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 {

Просмотреть файл

@ -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
}

Просмотреть файл

@ -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
}

Просмотреть файл

@ -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
}

Просмотреть файл

@ -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
}