-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows, testing: make //src/test/shell/... run on Windows #4930
Comments
In this commit: - split //src/test/shell:shell_utils_test into a symlink-specific part and the rest - use the Bash runfiles library - add "windows_tests" and "all_windows_tests" targets as we do in other platforms (e.g. in //src:BUILD) See bazelbuild#4930 See bazelbuild#4292 Change-Id: I111a7fed223f1f9b767dc6411389465f8da3e043
In this commit: - split //src/test/shell:shell_utils_test into a symlink-specific part and the rest - use the Bash runfiles library - add "windows_tests" and "all_windows_tests" targets as we do in other platforms (e.g. in //src:BUILD) See bazelbuild#4930 See bazelbuild#4292 Change-Id: I111a7fed223f1f9b767dc6411389465f8da3e043
In this commit: - split //src/test/shell:shell_utils_test into a symlink-specific part and the rest - use the Bash runfiles library - add "windows_tests" and "all_windows_tests" targets as we do in other platforms (e.g. in //src:BUILD) See #4930 See #4292 Change-Id: I111a7fed223f1f9b767dc6411389465f8da3e043 PiperOrigin-RevId: 194395011
Use the new Bash runfiles library (for now from //tools/bash/runfiles, later from @bazel_tools//tools/bash/runfiles) in testenv.sh, integration_test_setup.sh, and location_test.sh. Add missing runfiles that tests were using, such as //:WORKSPACE. Enable //src/test/shell/bazel:location_test on Windows. See bazelbuild#4930 See bazelbuild#4292 Change-Id: Ib66e96fe73281deabafa6578fb8681d70cd8665b
Use the new Bash runfiles library (for now from //tools/bash/runfiles, later from @bazel_tools//tools/bash/runfiles) in: - //src/test/shell:testenv.sh - //src/test/shell:integration_test_setup.sh - //src/test/shell/bazel:location_test.sh This will let us enable location_test on Windows. (Currently it fails, I'll fix it in a subsequent commit.) Add missing runfiles that tests were using, such as //:WORKSPACE. See bazelbuild#4930 See bazelbuild#4292 Change-Id: Ib66e96fe73281deabafa6578fb8681d70cd8665b
Use the new Bash runfiles library (for now from //tools/bash/runfiles, later from @bazel_tools//tools/bash/runfiles) in: - //src/test/shell:testenv.sh - //src/test/shell:integration_test_setup.sh - //src/test/shell/bazel:location_test.sh This will let us enable location_test on Windows. (Currently it fails, I'll fix it in a subsequent commit.) Add missing runfiles that tests were using, such as //:WORKSPACE. See bazelbuild#4930 See bazelbuild#4292 Change-Id: Ib66e96fe73281deabafa6578fb8681d70cd8665b
Use the new Bash runfiles library (for now from //tools/bash/runfiles, later from @bazel_tools//tools/bash/runfiles) in: - //src/test/shell:testenv.sh - //src/test/shell:integration_test_setup.sh - //src/test/shell/bazel:location_test.sh This will let us enable location_test on Windows. (Currently it fails, I'll fix it in a subsequent commit.) Add missing runfiles that tests were using, such as //:WORKSPACE. See bazelbuild#4930 See bazelbuild#4292 Change-Id: Ib66e96fe73281deabafa6578fb8681d70cd8665b
Use the new Bash runfiles library (for now from //tools/bash/runfiles, later from @bazel_tools//tools/bash/runfiles) in: - //src/test/shell:testenv.sh - //src/test/shell:integration_test_setup.sh - //src/test/shell/bazel:location_test.sh Also enable this test on Windows. Add missing runfiles that tests were using, such as //:WORKSPACE. See bazelbuild#4930 See bazelbuild#4292 Change-Id: Ib66e96fe73281deabafa6578fb8681d70cd8665b
Use the new Bash runfiles library (for now from //tools/bash/runfiles, later from @bazel_tools//tools/bash/runfiles) in: - //src/test/shell:testenv.sh - //src/test/shell:integration_test_setup.sh - //src/test/shell/bazel:location_test.sh Also enable this test on Windows. Add missing runfiles that tests were using, such as //:WORKSPACE. See bazelbuild#4930 See bazelbuild#4292 Change-Id: Ib66e96fe73281deabafa6578fb8681d70cd8665b
Update: I'm still working on this and P1 is appropriate. |
See bazelbuild#4930 Change-Id: I148c0b1e4baa8ff44d86a6ee196bea7e9058320f
See bazelbuild#4930 Change-Id: I148c0b1e4baa8ff44d86a6ee196bea7e9058320f
See bazelbuild#4930 Change-Id: I148c0b1e4baa8ff44d86a6ee196bea7e9058320f Closes bazelbuild#5387. Change-Id: Iba32f21ff6cad1b538c72cfd08ce24846843c124 PiperOrigin-RevId: 200554084
Current status (at 20637b7):
Currently only 7% of //src/test/shell/... runs on Windows. |
See bazelbuild#4930 Change-Id: I148c0b1e4baa8ff44d86a6ee196bea7e9058320f Closes bazelbuild#5387. Change-Id: Iba32f21ff6cad1b538c72cfd08ce24846843c124 PiperOrigin-RevId: 200554084
//src/test/shell/integration:java_integration_test now works on Windows. See bazelbuild#4930
Would be nice to have, but not critical, hence P3. |
The numbers from above comment have changed to |
Thank you for contributing to the Bazel repository! This issue has been marked as stale since it has not had any activity in the last 2.5 years. It will be closed in the next 14 days unless any other activity occurs or one of the following labels is added: "not stale", "awaiting-bazeler". Please reach out to the triage team ( |
This issue has been automatically closed due to inactivity. If you're still interested in pursuing this, please reach out to the triage team ( |
@bazelbuild/triage This is still relevant to improve the stability of existing features on Windows. |
Thank you for contributing to the Bazel repository! This issue has been marked as stale since it has not had any activity in the last 1+ years. It will be closed in the next 90 days unless any other activity occurs. If you think this issue is still relevant and should stay open, please post any comment here and the issue will no longer be marked as stale. |
This issue has been automatically closed due to inactivity. If you're still interested in pursuing this, please post |
Blocked by:
Blocking:
The text was updated successfully, but these errors were encountered: