diff options
| author | Russ Cox <rsc@golang.org> | 2017-10-27 13:30:09 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2017-10-31 13:20:27 +0000 |
| commit | 94471f6324d25e2562c9125aeeeb2af6f2a51fd4 (patch) | |
| tree | affa17d1b44629b613ee1bf58f587bda13dd3e72 /src/runtime/runtime_test.go | |
| parent | 6c8418f560f076da570b70ac645df7cdb01db188 (diff) | |
| download | go-94471f6324d25e2562c9125aeeeb2af6f2a51fd4.tar.xz | |
runtime: shorten tests in all.bash
This cuts 23 seconds from all.bash on my MacBook Pro.
Change-Id: Ibc4d7c01660b9e9ebd088dd55ba993f0d7ec6aa3
Reviewed-on: https://go-review.googlesource.com/73991
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/runtime_test.go')
| -rw-r--r-- | src/runtime/runtime_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/runtime_test.go b/src/runtime/runtime_test.go index 922cd830bc..d5b6b3ac3c 100644 --- a/src/runtime/runtime_test.go +++ b/src/runtime/runtime_test.go @@ -5,6 +5,7 @@ package runtime_test import ( + "flag" "io" . "runtime" "runtime/debug" @@ -13,6 +14,8 @@ import ( "unsafe" ) +var flagQuick = flag.Bool("quick", false, "skip slow tests, for second run in all.bash") + func init() { // We're testing the runtime, so make tracebacks show things // in the runtime. This only raises the level, so it won't |
