aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/sanity
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2018-12-01 00:42:34 +0100
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2018-12-01 00:42:34 +0100
commit237cc52ffd58c6f46a68d5662fd69cac05b52ec2 (patch)
tree3d4c963bc6e0c3231afab939c46693845054f54e /tools/run_tests/sanity
parentdc4b538c4d86d39d7fcdffa57bf50e5897ed2542 (diff)
Fix sanity checker.
Diffstat (limited to 'tools/run_tests/sanity')
-rwxr-xr-xtools/run_tests/sanity/check_bazel_workspace.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/run_tests/sanity/check_bazel_workspace.py b/tools/run_tests/sanity/check_bazel_workspace.py
index 35da88d70e..1486d0bd27 100755
--- a/tools/run_tests/sanity/check_bazel_workspace.py
+++ b/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()