]> Cypherpunks repositories - gostls13.git/commit
runtime: make stack growth test shorter
authorRuss Cox <rsc@golang.org>
Fri, 11 Apr 2014 04:08:07 +0000 (00:08 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 11 Apr 2014 04:08:07 +0000 (00:08 -0400)
commit9d81ade223e105880853ff31d0e04affd2fec488
treec6a724031ccd00a5fe17dbf444df21563aaa0220
parenta30eaa12eb2ecb484d3ced8775fadeeb20a21569
runtime: make stack growth test shorter

It runs too long in -short mode.

Disable the one in init, because it doesn't respect -short.

Make the part that claims to test execution in a finalizer
actually execute the test in the finalizer.

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=aram.h, golang-codereviews, iant, khr
https://golang.org/cl/86550045
src/pkg/runtime/stack_test.go