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
Fix test-wpt and test-css for Windows. #14039
Conversation
Heads up! This PR modifies the following files:
|
Also, perhaps @jgraham should look at the openssl change. |
Remeber the wptrunner changes need to be upstreamed. Reviewed 6 of 6 files at r1. python/mach_bootstrap.py, line 79 at r1 (raw file):
This could use a comment about why. tests/wpt/web-platform-tests/tools/sslutils/openssl.py, line 60 at r1 (raw file):
Why? Comments from Reviewable |
@jgraham Added comments as requested. I'll prepare an upstream PR with the same diff in a bit. |
Upstream PR is w3c/wpt-tools#139 |
Upstream PR has landed. |
Reviewed 2 of 2 files at r2. Comments from Reviewable |
Updated to add correct PATH for AppVeyor gnu builds. |
That has successfully returned us to the status quo of #13939. |
@bors-servo r+ |
📌 Commit 77ccb15 has been approved by |
Fix test-wpt and test-css for Windows. <!-- Please describe your changes on the following line: --> In addition to minor changes for Windows, this forces Windows Python to be used for all Windows builds (instead of using Windows Python only for pc-windows-msvc builds). --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because testing the tests is too meta for me <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14039) <!-- Reviewable:end -->
💔 Test failed - windows-dev |
@bors-servo retry
|
Fix test-wpt and test-css for Windows. <!-- Please describe your changes on the following line: --> In addition to minor changes for Windows, this forces Windows Python to be used for all Windows builds (instead of using Windows Python only for pc-windows-msvc builds). --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because testing the tests is too meta for me <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14039) <!-- Reviewable:end -->
@bors-servo try |
Fix test-wpt and test-css for Windows. <!-- Please describe your changes on the following line: --> In addition to minor changes for Windows, this forces Windows Python to be used for all Windows builds (instead of using Windows Python only for pc-windows-msvc builds). --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because testing the tests is too meta for me <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14039) <!-- Reviewable:end -->
💔 Test failed - windows-dev |
7f8412c
to
77ccb15
Compare
In addition to minor changes for Windows, this forces Windows Python to be used for all Windows builds (instead of using Windows Python only for pc-windows-msvc builds).
77ccb15
to
8e8519d
Compare
@bors-servo retry
|
@bors-servo r=jgraham |
📌 Commit 8e8519d has been approved by |
Fix test-wpt and test-css for Windows. <!-- Please describe your changes on the following line: --> In addition to minor changes for Windows, this forces Windows Python to be used for all Windows builds (instead of using Windows Python only for pc-windows-msvc builds). --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because testing the tests is too meta for me <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14039) <!-- Reviewable:end -->
☀️ Test successful - arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-dev |
This patch makes people with non-UTF-8 environment variables unable to run tests. Was that intended? Can that be reverted? |
Can someone address @nox's question? This is affecting me too. |
The problem according to the comment is that non-UTF-8 environment variables cannot be passed to create process. What should we be doing here - it sounds like a fail either way? I assume the options are:
|
I looked into this more, test-wpt now actually handles the error. test-css however has an older copy of sslutils.py which doesn't deal with this. I'm not sure which of these files we can edit and what the canonical source is. |
You can do anything you want to test-css, because it's going away in #19070. The canonical source for those files is upstream web-platform-tests. |
In addition to minor changes for Windows, this forces Windows Python to
be used for all Windows builds (instead of using Windows Python only for
pc-windows-msvc builds).
./mach build -d
does not report any errors./mach test-tidy
does not report any errorsThis change is