Skip to content

Commit 2c6f544

Browse files
committed
add tests
1 parent 2aa2a27 commit 2c6f544

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/support/sh_py_run_test.bzl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ def _perform_transition_impl(input_settings, attr, base_impl):
3838
settings["//command_line_option:extra_toolchains"] = attr.extra_toolchains
3939
if attr.python_src:
4040
settings["//python/bin:python_src"] = attr.python_src
41+
if attr.repl_dep:
42+
settings["//python/bin:repl_dep"] = attr.repl_dep
4143
if attr.venvs_use_declare_symlink:
4244
settings["//python/config_settings:venvs_use_declare_symlink"] = attr.venvs_use_declare_symlink
4345
if attr.venvs_site_packages:
@@ -47,6 +49,7 @@ def _perform_transition_impl(input_settings, attr, base_impl):
4749
_RECONFIG_INPUTS = [
4850
"//python/config_settings:bootstrap_impl",
4951
"//python/bin:python_src",
52+
"//python/bin:repl_dep",
5053
"//command_line_option:extra_toolchains",
5154
"//python/config_settings:venvs_use_declare_symlink",
5255
"//python/config_settings:venvs_site_packages",
@@ -70,6 +73,7 @@ toolchain.
7073
""",
7174
),
7275
"python_src": attrb.Label(),
76+
"repl_dep": attrb.Label(),
7377
"venvs_site_packages": attrb.String(),
7478
"venvs_use_declare_symlink": attrb.String(),
7579
}

0 commit comments

Comments
 (0)