]> Cypherpunks repositories - gostls13.git/commitdiff
test: fix windows build
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 22 Dec 2014 23:26:21 +0000 (15:26 -0800)
committerJosh Bleecher Snyder <josharian@gmail.com>
Tue, 23 Dec 2014 01:12:30 +0000 (01:12 +0000)
Broken by e7173dfdfd1c74b1d301da9b6f295ef99b9cc11c

Fix by simply disabling the relevant tests.

* bug248 and bug345 require errchk, but we can't
  rely on perl being available.
* bug369 is disabled anyway.

Change-Id: Idf73ebccb066943e3fe17c2f662b37238ec74dfe
Reviewed-on: https://go-review.googlesource.com/2052
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
test/fixedbugs/bug248.go
test/fixedbugs/bug345.go
test/fixedbugs/bug369.go

index 338bc8eb96850403da6d347617c1305305311531..13796eed2863b15e43318e12c8a115614a49528b 100644 (file)
@@ -1,4 +1,4 @@
-// +build !nacl
+// +build !nacl,!windows
 // run
 
 // Copyright 2009 The Go Authors. All rights reserved.
@@ -19,6 +19,7 @@ func main() {
        a, err := build.ArchChar(build.Default.GOARCH)
        check(err)
 
+       // TODO: If we get rid of errchk, re-enable this test on Windows.
        errchk, err := filepath.Abs("errchk")
        check(err)
 
index e772d86e77fb98bde9e0a784d44c953b18b2184c..bfa00938fdfa9b75609236442e20387fdc85b9db 100644 (file)
@@ -1,4 +1,4 @@
-// +build !nacl
+// +build !nacl,!windows
 // run
 
 // Copyright 2011 The Go Authors.  All rights reserved.
@@ -19,6 +19,7 @@ func main() {
        a, err := build.ArchChar(build.Default.GOARCH)
        check(err)
 
+       // TODO: If we get rid of errchk, re-enable this test on Windows.
        errchk, err := filepath.Abs("errchk")
        check(err)
 
index 8cb2bf0995c4d0da0a9c56c6141cbe3fcadeae10..519703fb1ea4337ad0821b75695e7b67af6014b3 100644 (file)
@@ -1,4 +1,4 @@
-// +build !nacl
+// +build !nacl,!windows
 // run
 
 // Copyright 2011 The Go Authors.  All rights reserved.