mirror of https://github.com/golang/go.git
cmd/api: re-enable TestGolden on nacl
Fixes #10369. Change-Id: If0a6d2b33c6862c9f7f862bdc997f2204072c6dc Reviewed-on: https://go-review.googlesource.com/8620 Run-TryBot: Minux Ma <minux@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
a175fa3bc3
commit
84b690fee1
|
|
@ -10,6 +10,9 @@ usr src=../misc/nacl/testdata
|
|||
go src=..
|
||||
src
|
||||
cmd
|
||||
api
|
||||
testdata
|
||||
+
|
||||
asm
|
||||
internal
|
||||
asm
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ import (
|
|||
"os"
|
||||
"os/exec"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
"sort"
|
||||
"strings"
|
||||
"testing"
|
||||
|
|
@ -24,13 +23,6 @@ var (
|
|||
)
|
||||
|
||||
func TestGolden(t *testing.T) {
|
||||
// test fails on NaCl - skip for now
|
||||
// (goapi_test.go:35: open testdata/src/pkg: No such file or directory)
|
||||
// TODO(gri) fix this ASAP
|
||||
if runtime.GOOS == "nacl" {
|
||||
return
|
||||
}
|
||||
|
||||
td, err := os.Open("testdata/src/pkg")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
|
|
|||
Loading…
Reference in New Issue