Fix sanity checker.

pull/17363/head
Nicolas "Pixel" Noble 6 years ago
parent dc4b538c4d
commit 237cc52ffd
  1. 4
      tools/run_tests/sanity/check_bazel_workspace.py

@ -111,6 +111,8 @@ bazel_file += '\ngrpc_deps()\n'
bazel_file += '\ngrpc_test_only_deps()\n'
build_rules = {
'native': eval_state,
'http_archive': lambda **args: eval_state.http_archive(**args),
'load': lambda a, b: None,
}
exec bazel_file in build_rules
for name in _GRPC_DEP_NAMES:
@ -150,6 +152,8 @@ for name in _GRPC_DEP_NAMES:
names_and_urls_with_overridden_name, overridden_name=name)
rules = {
'native': state,
'http_archive': lambda **args: state.http_archive(**args),
'load': lambda a, b: None,
}
exec bazel_file in rules
assert name not in names_and_urls_with_overridden_name.keys()

Loading…
Cancel
Save