mirror of
https://github.com/servo/servo.git
synced 2025-07-24 07:40:27 +01:00
Auto merge of #12547 - jryans:wpt-firefox, r=jgraham
Allow running WPT in Firefox <!-- Please describe your changes on the following line: --> When working with WPT tests, I find it convenient to compare the results of different browsers / engines. By installing a few more Python packages, we can easily test against Firefox from a Servo checkout. As noted in the updated README.md, this change allows you to check WPT tests in Firefox by adding `--product firefox` to the `./mach test-wpt` command. r? @jgraham --- <!-- 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 <!-- Either: --> - [x] These changes do not require tests because only the set of test harness packages is changed <!-- 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/12547) <!-- Reviewable:end -->
This commit is contained in:
commit
f5d589876b
3 changed files with 15 additions and 2 deletions
|
@ -135,6 +135,7 @@ def _activate_virtualenv(topdir):
|
|||
requirements_paths = [
|
||||
os.path.join("python", "requirements.txt"),
|
||||
os.path.join("tests", "wpt", "harness", "requirements.txt"),
|
||||
os.path.join("tests", "wpt", "harness", "requirements_firefox.txt"),
|
||||
os.path.join("tests", "wpt", "harness", "requirements_servo.txt"),
|
||||
]
|
||||
for req_rel_path in requirements_paths:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue