summaryrefslogtreecommitdiffhomepage
path: root/tools/nogo/config.go
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-08-31 17:07:35 -0700
committergVisor bot <gvisor-bot@google.com>2020-08-31 17:09:20 -0700
commit101c97d6f851abbd3024605102757da66a36551f (patch)
tree5e5154b4449c7a7dec9887cbc6e49329617e03fc /tools/nogo/config.go
parent170560cec01f99d49f4c2f09f2a5655dd376fac7 (diff)
Change nogo failures to test failures, instead of build failures.
PiperOrigin-RevId: 329408633
Diffstat (limited to 'tools/nogo/config.go')
-rw-r--r--tools/nogo/config.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/nogo/config.go b/tools/nogo/config.go
index 451cd4a4c..cfe7b4aa4 100644
--- a/tools/nogo/config.go
+++ b/tools/nogo/config.go
@@ -122,3 +122,8 @@ var analyzerConfig = map[*analysis.Analyzer]matcher{
checkescape.Analyzer: internalMatches(),
checkunsafe.Analyzer: internalMatches(),
}
+
+var escapesConfig = map[*analysis.Analyzer]matcher{
+ // Informational only: include all packages.
+ checkescape.EscapeAnalyzer: alwaysMatches(),
+}