Add a helpful comment to test_native_python_with_runfiles test.
I just figured that other people might run into the same problem as we did on Bazel CI and hopefully this helps them fix the issue quickly.
RELNOTES: None.
@@ -270,6 +270,10 @@ function test_native_python() {
assert_test_fails //examples/py_native:fail
}
+# If this test fails on your Windows machine, ensure that you have a python3.exe
+# in your PATH. Depending on how you installed Python, this might not exist by
+# default on your system. See this pull request for an example:
+# https://github.com/bazelbuild/continuous-integration/pull/1216
function test_native_python_with_runfiles() {
BUILD_FLAGS="--enable_runfiles --build_python_zip=0"
bazel build -s --verbose_failures $BUILD_FLAGS //examples/py_native:bin \
