2021-06-30 19:22:09 +00:00
|
|
|
diff --git a/go/private/rules/test.bzl b/go/private/rules/test.bzl
|
2023-03-13 19:22:37 +00:00
|
|
|
index 413a19da..b289f52f 100644
|
2021-06-30 19:22:09 +00:00
|
|
|
--- a/go/private/rules/test.bzl
|
|
|
|
+++ b/go/private/rules/test.bzl
|
2023-03-13 19:22:37 +00:00
|
|
|
@@ -189,7 +189,7 @@ def _go_test_impl(ctx):
|
|
|
|
run_environment_info,
|
2021-06-30 19:22:09 +00:00
|
|
|
]
|
2023-03-13 19:22:37 +00:00
|
|
|
|
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(
|
2023-03-13 19:22:37 +00:00
|
|
|
@@ -471,7 +471,7 @@ _go_test_kwargs = {
|
2022-04-28 17:07:29 +00:00
|
|
|
""",
|
2021-06-30 19:22:09 +00:00
|
|
|
}
|
2023-03-13 19:22:37 +00:00
|
|
|
|
2021-06-30 19:22:09 +00:00
|
|
|
-go_test = rule(**_go_test_kwargs)
|
|
|
|
+go_test = rule(**go_test_kwargs)
|
2023-03-13 19:22:37 +00:00
|
|
|
|
2021-06-30 19:22:09 +00:00
|
|
|
def _recompile_external_deps(go, external_source, internal_archive, library_labels):
|
|
|
|
"""Recompiles some archives in order to split internal and external tests.
|