mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime/coverage: skip more tests in short mode
Add more skips if short mode testing, since some of these tests still seem to be timing out on smaller and more underpowered builders. Updates #56197. Change-Id: I469d9fd3a6be5602243234562fa3fe6263968b56 Reviewed-on: https://go-review.googlesource.com/c/go/+/443376 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: David Chase <drchase@google.com> Run-TryBot: Than McIntosh <thanm@google.com>
This commit is contained in:
parent
da6042e82e
commit
3e100a22e5
1 changed files with 6 additions and 0 deletions
|
|
@ -22,6 +22,9 @@ import (
|
|||
const fixedTestDir = false
|
||||
|
||||
func TestCoverageApis(t *testing.T) {
|
||||
if testing.Short() {
|
||||
t.Skipf("skipping test: too long for short mode")
|
||||
}
|
||||
if !goexperiment.CoverageRedesign {
|
||||
t.Skipf("skipping new coverage tests (experiment not enabled)")
|
||||
}
|
||||
|
|
@ -388,6 +391,9 @@ func testEmitWithCounterClear(t *testing.T, harnessPath string, dir string) {
|
|||
}
|
||||
|
||||
func TestApisOnNocoverBinary(t *testing.T) {
|
||||
if testing.Short() {
|
||||
t.Skipf("skipping test: too long for short mode")
|
||||
}
|
||||
testenv.MustHaveGoBuild(t)
|
||||
dir := t.TempDir()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue