2021-06-30 19:22:09 +00:00
|
|
|
diff --git a/go/private/rules/test.bzl b/go/private/rules/test.bzl
|
2022-04-28 17:07:29 +00:00
|
|
|
index a88ebcc9..f23b0dfb 100644
|
2021-06-30 19:22:09 +00:00
|
|
|
--- a/go/private/rules/test.bzl
|
|
|
|
+++ b/go/private/rules/test.bzl
|
2022-04-28 17:07:29 +00:00
|
|
|
@@ -185,7 +185,7 @@ def _go_test_impl(ctx):
|
|
|
|
testing.TestEnvironment(env),
|
2021-06-30 19:22:09 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
-_go_test_kwargs = {
|
|
|
|
+go_test_kwargs = {
|
|
|
|
"implementation": _go_test_impl,
|
|
|
|
"attrs": {
|
2022-04-28 17:07:29 +00:00
|
|
|
"data": attr.label_list(
|
|
|
|
@@ -439,8 +439,8 @@ _go_test_kwargs = {
|
|
|
|
""",
|
2021-06-30 19:22:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
-go_test = rule(**_go_test_kwargs)
|
|
|
|
-go_transition_test = go_transition_rule(**_go_test_kwargs)
|
|
|
|
+go_test = rule(**go_test_kwargs)
|
|
|
|
+go_transition_test = go_transition_rule(**go_test_kwargs)
|
|
|
|
|
|
|
|
def _recompile_external_deps(go, external_source, internal_archive, library_labels):
|
|
|
|
"""Recompiles some archives in order to split internal and external tests.
|