| 1 |
// Copyright 2019 The Go Authors. All rights reserved. |
| 2 |
// Use of this source code is governed by a BSD-style |
| 3 |
// license that can be found in the LICENSE file. |
| 4 |
|
| 5 |
// Code generated by genflags.go — DO NOT EDIT. |
| 6 |
|
| 7 |
package test |
| 8 |
|
| 9 |
// passFlagToTest contains the flags that should be forwarded to |
| 10 |
// the test binary with the prefix "test.". |
| 11 |
var passFlagToTest = map[string]bool{ |
| 12 |
"bench": true, |
| 13 |
"benchmem": true, |
| 14 |
"benchtime": true, |
| 15 |
"blockprofile": true, |
| 16 |
"blockprofilerate": true, |
| 17 |
"count": true, |
| 18 |
"coverprofile": true, |
| 19 |
"cpu": true, |
| 20 |
"cpuprofile": true, |
| 21 |
"failfast": true, |
| 22 |
"fullpath": true, |
| 23 |
"fuzz": true, |
| 24 |
"fuzzminimizetime": true, |
| 25 |
"fuzztime": true, |
| 26 |
"list": true, |
| 27 |
"memprofile": true, |
| 28 |
"memprofilerate": true, |
| 29 |
"mutexprofile": true, |
| 30 |
"mutexprofilefraction": true, |
| 31 |
"outputdir": true, |
| 32 |
"parallel": true, |
| 33 |
"run": true, |
| 34 |
"short": true, |
| 35 |
"shuffle": true, |
| 36 |
"skip": true, |
| 37 |
"timeout": true, |
| 38 |
"trace": true, |
| 39 |
"v": true, |
| 40 |
} |
| 41 |
|
| 42 |
var passAnalyzersToVet = map[string]bool{ |
| 43 |
"appends": true, |
| 44 |
"asmdecl": true, |
| 45 |
"assign": true, |
| 46 |
"atomic": true, |
| 47 |
"bool": true, |
| 48 |
"bools": true, |
| 49 |
"buildtag": true, |
| 50 |
"buildtags": true, |
| 51 |
"cgocall": true, |
| 52 |
"composites": true, |
| 53 |
"copylocks": true, |
| 54 |
"defers": true, |
| 55 |
"directive": true, |
| 56 |
"errorsas": true, |
| 57 |
"framepointer": true, |
| 58 |
"hostport": true, |
| 59 |
"httpresponse": true, |
| 60 |
"ifaceassert": true, |
| 61 |
"loopclosure": true, |
| 62 |
"lostcancel": true, |
| 63 |
"methods": true, |
| 64 |
"nilfunc": true, |
| 65 |
"printf": true, |
| 66 |
"rangeloops": true, |
| 67 |
"shift": true, |
| 68 |
"sigchanyzer": true, |
| 69 |
"slog": true, |
| 70 |
"stdmethods": true, |
| 71 |
"stdversion": true, |
| 72 |
"stringintconv": true, |
| 73 |
"structtag": true, |
| 74 |
"testinggoroutine": true, |
| 75 |
"tests": true, |
| 76 |
"timeformat": true, |
| 77 |
"unmarshal": true, |
| 78 |
"unreachable": true, |
| 79 |
"unsafeptr": true, |
| 80 |
"unusedresult": true, |
| 81 |
"waitgroup": true, |
| 82 |
} |