зеркало из https://github.com/CryptoPro/go.git
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:
Родитель
8acbe4c0b3
Коммит
0c3bf27b97
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче