From: Dmitriy Vyukov Date: Wed, 25 Jun 2014 00:19:10 +0000 (-0700) Subject: regexp: skip TestOnePassCutoff in short mode X-Git-Tag: go1.4beta1~1220 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=280eb703a2d7e2f9630755048d13f259945743e5;p=gostls13.git regexp: skip TestOnePassCutoff in short mode Runs for 4 seconds on my mac. Also this is the only test that times out on freebsd in -race mode. R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/110150045 --- diff --git a/src/pkg/regexp/all_test.go b/src/pkg/regexp/all_test.go index 301a1dfcd8..5fadb67c09 100644 --- a/src/pkg/regexp/all_test.go +++ b/src/pkg/regexp/all_test.go @@ -475,6 +475,9 @@ func TestSplit(t *testing.T) { // This ran out of stack before issue 7608 was fixed. func TestOnePassCutoff(t *testing.T) { + if testing.Short() { + t.Skip("Skipping in short mode") + } MustCompile(`^(?:x{1,1000}){1,1000}$`) }