aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2019-08-29 10:52:49 -0400
committerBryan C. Mills <bcmills@google.com>2019-08-29 15:14:55 +0000
commit31c07df3d1a7a62665a589cdda84410f2561c080 (patch)
tree6e63d2dc9ac448066cb6855f15278b0449c6a77f
parentf07bce1a3be506139598e6bb6677cebcdda3ab19 (diff)
blog: skip test on slow aix-ppc64 builder
Updates golang/go#33940 Change-Id: Ie6592612e77c91eaa8742046b8b54199ed934909 Reviewed-on: https://go-review.googlesource.com/c/blog/+/192323 Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
-rw-r--r--local_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/local_test.go b/local_test.go
index 3df3bbe..b241dde 100644
--- a/local_test.go
+++ b/local_test.go
@@ -8,6 +8,7 @@ package main
import (
"net/http/httptest"
+ "os"
"runtime"
"strings"
"testing"
@@ -19,6 +20,10 @@ func TestServer(t *testing.T) {
if runtime.GOOS == "android" {
t.Skip("skipping on android; can't run go tool")
}
+ if os.Getenv("GO_BUILDER_NAME") == "aix-ppc64" {
+ t.Skip("skipping on aix-ppc64 builder: https://golang.org/issue/33940")
+ }
+
oldStatic := *staticPath
*staticPath = "/static"
defer func() { *staticPath = oldStatic }()