]> Cypherpunks repositories - gostls13.git/commit
testing: add a method testing.CoverMode
authorRob Pike <r@golang.org>
Tue, 1 Nov 2016 18:01:39 +0000 (11:01 -0700)
committerRob Pike <r@golang.org>
Tue, 1 Nov 2016 18:12:04 +0000 (18:12 +0000)
commitdaf3f082648274b0da7264bcc4794ca0dd4b999d
tree9c9c03e101a474aa62cf4703dd7f6ffb1d3c8592
parentb06c93e45b7b03a5d670250ff35e42d62aface82
testing: add a method testing.CoverMode

This makes it possible to avoid tests where coverage affects the test
results by skipping them (or otherwise adjusting them) when coverage
is enabled.

Update #17699

Change-Id: Ifcc36cfcd88ebd677890e82ba80ee3d696ed3d7c
Reviewed-on: https://go-review.googlesource.com/32483
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/testing/testing.go