aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/crypto
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-05-20 12:10:19 -0400
committerRuss Cox <rsc@golang.org>2014-05-20 12:10:19 -0400
commit0c2a727477908dc0adbfcb05baac34b4ba4fa309 (patch)
tree8bc790864f3e4768d487e65bb05ef449dfc46e2f /src/pkg/crypto
parentf374dd30a05ed11a994d312ae4e128e731ee55a0 (diff)
downloadgo-0c2a727477908dc0adbfcb05baac34b4ba4fa309.tar.xz
build: make nacl pass
Add nacl.bash, the NaCl version of all.bash. It's a separate script because it builds a variant of package syscall with a large zip file embedded in it, containing all the input files needed for tests. Disable various tests new since the last round, mostly the ones using os/exec. Fixes #7945. LGTM=dave R=golang-codereviews, remyoudompheng, dave, bradfitz CC=golang-codereviews https://golang.org/cl/100590044
Diffstat (limited to 'src/pkg/crypto')
-rw-r--r--src/pkg/crypto/x509/x509_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pkg/crypto/x509/x509_test.go b/src/pkg/crypto/x509/x509_test.go
index ce9062c4b4..2fd54c78f7 100644
--- a/src/pkg/crypto/x509/x509_test.go
+++ b/src/pkg/crypto/x509/x509_test.go
@@ -22,6 +22,7 @@ import (
"net"
"os/exec"
"reflect"
+ "runtime"
"testing"
"time"
)
@@ -727,6 +728,10 @@ func TestParsePEMCRL(t *testing.T) {
}
func TestImports(t *testing.T) {
+ if runtime.GOOS == "nacl" {
+ t.Skip("skipping on nacl")
+ }
+
if err := exec.Command("go", "run", "x509_test_import.go").Run(); err != nil {
t.Errorf("failed to run x509_test_import.go: %s", err)
}