aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/coverage/emitdata_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/coverage/emitdata_test.go')
-rw-r--r--src/runtime/coverage/emitdata_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/runtime/coverage/emitdata_test.go b/src/runtime/coverage/emitdata_test.go
index e74db3e332..0ccb2d27b0 100644
--- a/src/runtime/coverage/emitdata_test.go
+++ b/src/runtime/coverage/emitdata_test.go
@@ -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()