From b154cbe2e4266d14650350c92ce461791cd5e0b5 Mon Sep 17 00:00:00 2001 From: Richard Levasseur Date: Tue, 17 Feb 2026 17:25:03 -0800 Subject: [PATCH] test: add system_python_nodeps_test --- tests/bootstrap_impls/BUILD.bazel | 10 ++++++++++ tests/bootstrap_impls/system_python_nodeps_test.py | 1 + 2 files changed, 11 insertions(+) create mode 100644 tests/bootstrap_impls/system_python_nodeps_test.py diff --git a/tests/bootstrap_impls/BUILD.bazel b/tests/bootstrap_impls/BUILD.bazel index e1f60f5b40..5894cf8057 100644 --- a/tests/bootstrap_impls/BUILD.bazel +++ b/tests/bootstrap_impls/BUILD.bazel @@ -13,6 +13,8 @@ # limitations under the License. load("@rules_pkg//pkg:tar.bzl", "pkg_tar") load("@rules_shell//shell:sh_test.bzl", "sh_test") +load("//python:py_binary.bzl", "py_binary") +load("//python:py_test.bzl", "py_test") load("//tests/support:py_reconfig.bzl", "py_reconfig_binary", "py_reconfig_test") load("//tests/support:sh_py_run_test.bzl", "sh_py_run_test") load("//tests/support:support.bzl", "SUPPORTS_BOOTSTRAP_SCRIPT") @@ -190,4 +192,12 @@ sh_test( }), ) +py_test( + name = "system_python_nodeps_test", + srcs = ["system_python_nodeps_test.py"], + config_settings = { + "//python/config_settings:bootstrap_impl": "system_python", + }, +) + relative_path_test_suite(name = "relative_path_tests") diff --git a/tests/bootstrap_impls/system_python_nodeps_test.py b/tests/bootstrap_impls/system_python_nodeps_test.py new file mode 100644 index 0000000000..7dc46d6e73 --- /dev/null +++ b/tests/bootstrap_impls/system_python_nodeps_test.py @@ -0,0 +1 @@ +print("Hello, world")