From d644aa1fcdd83c34c0a14f59de800b166569938f Mon Sep 17 00:00:00 2001 From: Alan Donovan Date: Thu, 24 Oct 2013 22:38:10 -0400 Subject: [PATCH] go.tools/ssa/interp: enable $GOROOT/test/switch.go test (now that go/types can handle it) R=gri TBR=gri CC=golang-dev https://golang.org/cl/16970043 --- ssa/interp/interp_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ssa/interp/interp_test.go b/ssa/interp/interp_test.go index 1fb90bb23a3..0e8ebea1b15 100644 --- a/ssa/interp/interp_test.go +++ b/ssa/interp/interp_test.go @@ -82,6 +82,7 @@ var gorootTestTests = []string{ "zerodivide.go", "convert.go", "convT2X.go", + "switch.go", "initialize.go", "ddd.go", "blank.go", // partly disabled @@ -119,9 +120,6 @@ var gorootTestTests = []string{ // "64bit.go", // emits source for a test // "run.go", // test driver, not a test. - // Typechecker failures: - // "switch.go", // https://code.google.com/p/go/issues/detail?id=5505 - // Broken. TODO(adonovan): fix. // copy.go // very slow; but with N=4 quickly crashes, slice index out of range. // nilptr.go // interp: V > uintptr not implemented. Slow test, lots of mem