Commit 84b690fe authored by Shenghou Ma's avatar Shenghou Ma Committed by Minux Ma

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: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent a175fa3b
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment