From f038dae646bac2b31be98ab592c0e5206d2d96f5 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 6 Nov 2013 19:49:01 +0000 Subject: libgo: Update to October 24 version of master library. From-SVN: r204466 --- libgo/go/regexp/exec2_test.go | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 libgo/go/regexp/exec2_test.go (limited to 'libgo/go/regexp/exec2_test.go') diff --git a/libgo/go/regexp/exec2_test.go b/libgo/go/regexp/exec2_test.go new file mode 100644 index 0000000..7b86b41 --- /dev/null +++ b/libgo/go/regexp/exec2_test.go @@ -0,0 +1,20 @@ +// Copyright 2013 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// +build !race + +package regexp + +import ( + "testing" +) + +// This test is excluded when running under the race detector because +// it is a very expensive test and takes too long. +func TestRE2Exhaustive(t *testing.T) { + if testing.Short() { + t.Skip("skipping TestRE2Exhaustive during short test") + } + testRE2(t, "testdata/re2-exhaustive.txt.bz2") +} -- cgit v1.1