• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1load("//python/private:util.bzl", "IS_BAZEL_7_OR_HIGHER")  # buildifier: disable=bzl-visibility
2load("//tests/support:sh_py_run_test.bzl", "py_reconfig_test")
3
4_SUPPORTS_BOOTSTRAP_SCRIPT = select({
5    "@platforms//os:windows": ["@platforms//:incompatible"],
6    "//conditions:default": [],
7}) if IS_BAZEL_7_OR_HIGHER else ["@platforms//:incompatible"]
8
9py_reconfig_test(
10    name = "nested_dir_test",
11    srcs = ["nested_dir_test.py"],
12    bootstrap_impl = "script",
13    main = "nested_dir_test.py",
14    target_compatible_with = _SUPPORTS_BOOTSTRAP_SCRIPT,
15)
16