From 884452c403e794bda369a24370c2fb693d01a7f7 Mon Sep 17 00:00:00 2001 From: Anthony Romano Date: Sat, 16 Jul 2016 10:30:19 -0700 Subject: [PATCH] e2e: run e2e tests on unsupported architectures --- e2e/main_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/e2e/main_test.go b/e2e/main_test.go index 7c4aeafca..e1098db43 100644 --- a/e2e/main_test.go +++ b/e2e/main_test.go @@ -6,12 +6,14 @@ package e2e import ( "os" + "runtime" "testing" "github.com/coreos/etcd/pkg/testutil" ) func TestMain(m *testing.M) { + os.Setenv("ETCD_UNSUPPORTED_ARCH", runtime.GOARCH) v := m.Run() if v == 0 && testutil.CheckLeakedGoroutine() { os.Exit(1)