diff options
author | Andrei Vagin <avagin@google.com> | 2021-09-13 15:31:52 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-09-13 15:35:22 -0700 |
commit | 95fe4fea19f30281a3ff53f62c9fcda533c4e04a (patch) | |
tree | 3f2f1f5a70dc4d48d0a6190b97d6810479785cfb /test/util/BUILD | |
parent | e07fd058ec474d801748a849d9c5d1c6118c3c11 (diff) |
tools/show_paths.bzl: check that provider_map isn't None
Otherwise it can fail:
$ bazel cquery pkg/p9/... --output=starlark --starlark:file=tools/show_paths.bzl
...
ERROR: Starlark evaluation error for //pkg/p9/p9test:mockgen:
Traceback (most recent call last):
File "tools/show_paths.bzl", line 8, column 32, in format
Error: 'NoneType' value has no field or method 'get'
PiperOrigin-RevId: 396457764
Diffstat (limited to 'test/util/BUILD')
-rw-r--r-- | test/util/BUILD | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/util/BUILD b/test/util/BUILD index 0c151c5a1..5b6bcb32c 100644 --- a/test/util/BUILD +++ b/test/util/BUILD @@ -352,7 +352,6 @@ cc_library( cc_library( name = "benchmark_main", testonly = 1, - srcs = ["benchmark_main.cc"], linkstatic = 1, deps = [ ":test_util", |