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>
go src=..
src
cmd
+ api
+ testdata
+ +
asm
internal
asm
"os"
"os/exec"
"path/filepath"
- "runtime"
"sort"
"strings"
"testing"
)
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)