Merge pull request #22767 from jtattermusch/fix_check_bazel_workspace

Re-enable a check in bazel_check_workspace.py
pull/22806/head
Jan Tattermusch 5 years ago committed by GitHub
commit 5bca0d5862
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      tools/run_tests/sanity/check_bazel_workspace.py

@ -68,6 +68,7 @@ _GRPC_DEP_NAMES = [
]
_GRPC_BAZEL_ONLY_DEPS = [
'upb', # third_party/upb is checked in locally
'rules_cc',
'com_google_absl',
'io_opencensus_cpp',
@ -170,6 +171,11 @@ if len(workspace_git_hashes - git_submodule_hashes) > 0:
print(
"Found discrepancies between git submodules and Bazel WORKSPACE dependencies"
)
print("workspace_git_hashes: %s" % workspace_git_hashes)
print("git_submodule_hashes: %s" % git_submodule_hashes)
print("workspace_git_hashes - git_submodule_hashes: %s" %
(workspace_git_hashes - git_submodule_hashes))
sys.exit(1)
# Also check that we can override each dependency
for name in _GRPC_DEP_NAMES:

Loading…
Cancel
Save