mirror of https://github.com/golang/go.git
runtime: don't run TestCheckPtr/TestCheckPtr2 in short mode
Change-Id: I02c9bea1637c2694a76e7747cb8a2e3562301566 Reviewed-on: https://go-review.googlesource.com/c/go/+/364755 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
parent
0981724eae
commit
aa34ea2f4c
|
|
@ -12,6 +12,12 @@ import (
|
|||
)
|
||||
|
||||
func TestCheckPtr(t *testing.T) {
|
||||
// This test requires rebuilding packages with -d=checkptr=1,
|
||||
// so it's somewhat slow.
|
||||
if testing.Short() {
|
||||
t.Skip("skipping test in -short mode")
|
||||
}
|
||||
|
||||
t.Parallel()
|
||||
testenv.MustHaveGoRun(t)
|
||||
|
||||
|
|
@ -57,6 +63,12 @@ func TestCheckPtr(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestCheckPtr2(t *testing.T) {
|
||||
// This test requires rebuilding packages with -d=checkptr=2,
|
||||
// so it's somewhat slow.
|
||||
if testing.Short() {
|
||||
t.Skip("skipping test in -short mode")
|
||||
}
|
||||
|
||||
t.Parallel()
|
||||
testenv.MustHaveGoRun(t)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue