]> Cypherpunks repositories - gostls13.git/commitdiff
windows: disable unimplemented tests
authorJoe Poirier <jdpoirier@gmail.com>
Fri, 10 Sep 2010 18:05:57 +0000 (14:05 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 10 Sep 2010 18:05:57 +0000 (14:05 -0400)
Add windows NOTEST list to pkg make file.
5a make file. the change removes a space
character that was included when appending
an extension to TARG.

R=brainman, rsc
CC=golang-dev
https://golang.org/cl/2140046

src/cmd/5a/Makefile
src/pkg/Makefile

index 9485e5cf8375c316cdac4fa3fab3236b365c6541..f4463c97b02e007a61e96ad913a90da0468971ed 100644 (file)
@@ -5,8 +5,7 @@
 include ../../Make.inc
 O:=$(HOST_O)
 
-TARG=\
-       5a\
+TARG=5a
 
 HFILES=\
        a.h\
index 67f8f8d81252b5f9c54814c418dc2bccbe04f05b..b8e45da407b62b39ee4e66417c5e2074e0849253 100644 (file)
@@ -186,6 +186,19 @@ NOTEST+=time         # no syscall.Kill, syscall.SIGCHLD for sleep tests
 NOTEST+=websocket    # no network
 endif
 
+# Disable tests that windows cannot run yet.
+ifeq ($(GOOS),windows)
+NOTEST+=exec         # no pipe
+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+=syslog       # no network
+NOTEST+=time         # no syscall.Kill, syscall.SIGCHLD for sleep tests
+NOTEST+=websocket    # no network
+endif
+
 TEST=\
        $(filter-out $(NOTEST),$(DIRS))