From 50fdc6b94688900e17f8cd121e0ebc136995fbf8 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Fri, 31 Jul 2015 14:40:56 -0700 Subject: [PATCH] go/loader: exclude example tests from Windows tests The output of ExampleConfig_CreateFromFiles and ExampleConfig_Import are different for Windows that for other platforms: They contain internal/syscall/windows packages and unicode/utf16 not present in the output for other platforms. For golang/go#11811. Change-Id: Id391fbeec8123616da86cb68fc3cefcd513b2493 Reviewed-on: https://go-review.googlesource.com/13032 Reviewed-by: Ian Lance Taylor --- go/loader/example14_test.go | 1 + go/loader/example_test.go | 1 + 2 files changed, 2 insertions(+) diff --git a/go/loader/example14_test.go b/go/loader/example14_test.go index 7668e230..76d5ea68 100644 --- a/go/loader/example14_test.go +++ b/go/loader/example14_test.go @@ -3,6 +3,7 @@ // license that can be found in the LICENSE file. // +build !go1.5 +// +build !windows package loader_test diff --git a/go/loader/example_test.go b/go/loader/example_test.go index 6b68a5e4..ce5afdb9 100644 --- a/go/loader/example_test.go +++ b/go/loader/example_test.go @@ -3,6 +3,7 @@ // license that can be found in the LICENSE file. // +build go1.5 +// +build !windows package loader_test