aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/Makefile
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-04-22 17:52:22 -0700
committerRuss Cox <rsc@golang.org>2010-04-22 17:52:22 -0700
commitc6138efbcb3c69eb22be0e09740b4e74e6eff552 (patch)
tree517171909ef7be7d91fcb865e558266aac65cc6d /src/pkg/Makefile
parent6e80a01ab748e16428f5911523a1ad153b220fb0 (diff)
downloadgo-c6138efbcb3c69eb22be0e09740b4e74e6eff552.tar.xz
runtime: closures, defer bug fix for Native Client
Enable package tests for Native Client build. R=r CC=golang-dev https://golang.org/cl/957042
Diffstat (limited to 'src/pkg/Makefile')
-rw-r--r--src/pkg/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/pkg/Makefile b/src/pkg/Makefile
index 4057ed97d1..a9c400a9ce 100644
--- a/src/pkg/Makefile
+++ b/src/pkg/Makefile
@@ -150,6 +150,25 @@ TEST=\
BENCH=\
$(filter-out $(NOBENCH),$(TEST))
+# Disable tests that NaCl cannot run yet.
+ifeq ($(GOOS),nacl)
+NOTEST+=archive/tar # no pipe
+NOTEST+=debug/dwarf # no pread
+NOTEST+=debug/macho # no pread
+NOTEST+=debug/elf # no pread
+NOTEST+=exec # no pipe
+NOTEST+=http # no network
+NOTEST+=log # no runtime.Caller
+NOTEST+=net # no network
+NOTEST+=os # many things unimplemented
+NOTEST+=os/signal # no signals
+NOTEST+=path # tree walking does not work
+NOTEST+=rpc # no network
+NOTEST+=syslog # no network
+NOTEST+=time # no syscall.Kill, syscall.SIGCHLD for sleep tests
+NOTEST+=websocket # no network
+endif
+
clean.dirs: $(addsuffix .clean, $(DIRS))
install.dirs: $(addsuffix .install, $(DIRS))
nuke.dirs: $(addsuffix .nuke, $(DIRS))