From 7f9acb53cb15ecea79dd6ed5ec117429b5919abb Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Sat, 26 Mar 2011 11:25:22 -0700 Subject: testing: shorten some more tests R=rsc CC=golang-dev https://golang.org/cl/4314044 --- src/pkg/container/vector/numbers_test.go | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/pkg/container/vector') diff --git a/src/pkg/container/vector/numbers_test.go b/src/pkg/container/vector/numbers_test.go index d540ace050..b83b0bfeef 100644 --- a/src/pkg/container/vector/numbers_test.go +++ b/src/pkg/container/vector/numbers_test.go @@ -33,6 +33,9 @@ func s(n uint64) string { func TestVectorNums(t *testing.T) { + if testing.Short() { + return + } var v Vector c := int(0) runtime.GC() @@ -51,6 +54,9 @@ func TestVectorNums(t *testing.T) { func TestIntVectorNums(t *testing.T) { + if testing.Short() { + return + } var v IntVector c := int(0) runtime.GC() @@ -69,6 +75,9 @@ func TestIntVectorNums(t *testing.T) { func TestStringVectorNums(t *testing.T) { + if testing.Short() { + return + } var v StringVector c := "" runtime.GC() -- cgit v1.3-5-g9baa