11load ("@rules_shell//shell:sh_test.bzl" , "sh_test" )
22load ("//tests/support:py_reconfig.bzl" , "py_reconfig_binary" )
3+ load ("//tests/support:support.bzl" , "SUPPORTS_BOOTSTRAP_SCRIPT" )
34
45# =====
56# bootstrap_impl=system_python testing
@@ -9,19 +10,22 @@ py_reconfig_binary(
910 srcs = ["outer.py" ],
1011 bootstrap_impl = "system_python" ,
1112 main = "outer.py" ,
13+ tags = ["manual" ],
1214)
1315
1416py_reconfig_binary (
1517 name = "inner_bootstrap_system_python" ,
1618 srcs = ["inner.py" ],
1719 bootstrap_impl = "system_python" ,
1820 main = "inner.py" ,
21+ tags = ["manual" ],
1922)
2023
2124genrule (
2225 name = "outer_calls_inner_system_python" ,
2326 outs = ["outer_calls_inner_system_python.out" ],
2427 cmd = "RULES_PYTHON_TESTING_TELL_MODULE_SPACE=1 $(location :outer_bootstrap_system_python) $(location :inner_bootstrap_system_python) > $@" ,
28+ tags = ["manual" ],
2529 tools = [
2630 ":inner_bootstrap_system_python" ,
2731 ":outer_bootstrap_system_python" ,
@@ -45,19 +49,22 @@ py_reconfig_binary(
4549 srcs = ["inner.py" ],
4650 bootstrap_impl = "script" ,
4751 main = "inner.py" ,
52+ tags = ["manual" ],
4853)
4954
5055py_reconfig_binary (
5156 name = "outer_bootstrap_script" ,
5257 srcs = ["outer.py" ],
5358 bootstrap_impl = "script" ,
5459 main = "outer.py" ,
60+ tags = ["manual" ],
5561)
5662
5763genrule (
5864 name = "outer_calls_inner_script_python" ,
5965 outs = ["outer_calls_inner_script_python.out" ],
6066 cmd = "RULES_PYTHON_TESTING_TELL_MODULE_SPACE=1 $(location :outer_bootstrap_script) $(location :inner_bootstrap_script) > $@" ,
67+ tags = ["manual" ],
6168 tools = [
6269 ":inner_bootstrap_script" ,
6370 ":outer_bootstrap_script" ,
@@ -71,4 +78,5 @@ sh_test(
7178 "verify.sh" ,
7279 ":outer_calls_inner_script_python" ,
7380 ],
81+ target_compatible_with = SUPPORTS_BOOTSTRAP_SCRIPT ,
7482)
0 commit comments