Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFix test-wpt and test-css for Windows. #14039
Conversation
highfive
commented
Nov 3, 2016
|
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+ |
|
|
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 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 -->
|
|
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).
|
@bors-servo retry
|
|
@bors-servo r=jgraham |
|
|
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 -->
|
|
This comment has been minimized.
This comment has been minimized.
|
This change breaks building geckolib inside MozillaBuild. MozillaBuild is basically just a MINGW32 environment with Windows Python, so it has |
This comment has been minimized.
This comment has been minimized.
|
I suggest adding a --target flag to mach then. Building from MSYSTEM seems like it should build mingw by default, at least until we make msvc the only target. |
This comment has been minimized.
This comment has been minimized.
|
Sounds reasonable. |
This comment has been minimized.
This comment has been minimized.
|
Actually, can we just use native rustc rather than downloading rustc for building geckolib? |
This comment has been minimized.
This comment has been minimized.
|
You can override how rustc is chosen by using |
|
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. |
metajack commentedNov 3, 2016
•
edited by larsbergstrom
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 -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is