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>
This commit is contained in:
Robert Griesemer 2015-08-05 14:05:52 -07:00
parent 7e0ad01d16
commit 874e71548b
1 changed files with 5 additions and 1 deletions

View File

@ -307,7 +307,7 @@ func TestTestdataFiles(t *testing.T) {
// 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 @@ func TestGorootTest(t *testing.T) {
// 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")