diff options
| author | Ian Lance Taylor <iant@golang.org> | 2022-07-16 16:08:35 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-07-29 22:09:32 +0000 |
| commit | 9a2001a8cc75b1ceda17da828edcee93c9d9f42c (patch) | |
| tree | 2a6d07d7cd906a7a3555fffefd9b6c2c2d29fd85 /src/runtime | |
| parent | 5c8ec89cb53025bc76b242b0d2410bf5060b697e (diff) | |
| download | go-9a2001a8cc75b1ceda17da828edcee93c9d9f42c.tar.xz | |
cmd/dist: always pass -short=true with -quick
Fixes #53818
Change-Id: I190a8bcf50d92b9c10e9980e630ebb362d8b19ec
Reviewed-on: https://go-review.googlesource.com/c/go/+/417918
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/runtime_test.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/runtime/runtime_test.go b/src/runtime/runtime_test.go index 0bdd01b086..018a8dbaa6 100644 --- a/src/runtime/runtime_test.go +++ b/src/runtime/runtime_test.go @@ -18,7 +18,12 @@ import ( "unsafe" ) -var flagQuick = flag.Bool("quick", false, "skip slow tests, for second run in all.bash") +// flagQuick is set by the -quick option to skip some relatively slow tests. +// This is used by the cmd/dist test runtime:cpu124. +// The cmd/dist test passes both -test.short and -quick; +// there are tests that only check testing.Short, and those tests will +// not be skipped if only -quick is used. +var flagQuick = flag.Bool("quick", false, "skip slow tests, for cmd/dist test runtime:cpu124") func init() { // We're testing the runtime, so make tracebacks show things |
