go/ssa/interp: exclude another long-running test if -short is set

For #11811.

Change-Id: Ic3bf3c035ce402f144b5b6670d5ef062874b167e
Reviewed-on: https://go-review.googlesource.com/13260
Reviewed-by: Chris Manghane <cmang@golang.org>
diff --git a/go/ssa/interp/interp_test.go b/go/ssa/interp/interp_test.go
index c914c6d..89e23bd 100644
--- a/go/ssa/interp/interp_test.go
+++ b/go/ssa/interp/interp_test.go
@@ -307,7 +307,7 @@
 // TestGorootTest runs the interpreter on $GOROOT/test/*.go.
 func TestGorootTest(t *testing.T) {
 	if testing.Short() {
-		return // too slow (~30s)
+		t.Skip() // too slow (~30s)
 	}
 
 	var failures []string
@@ -327,6 +327,10 @@
 
 // TestTestmainPackage runs the interpreter on a synthetic "testmain" package.
 func TestTestmainPackage(t *testing.T) {
+	if testing.Short() {
+		t.Skip() // too slow on some platforms
+	}
+
 	success := func(exitcode int, output string) error {
 		if exitcode == 0 {
 			return fmt.Errorf("unexpected success")