diff options
author | bors-servo <infra@servo.org> | 2023-01-16 10:22:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-16 10:22:46 +0100 |
commit | 76a5c5d7d2e1fe675e73711b25701ba30812f5d9 (patch) | |
tree | e43f9c0c7332447b7b249217c66e0a2a3d4f6516 /python/servo/bootstrap.py | |
parent | 806db676b01dae7b57b64a5118b21f57c9e21f8c (diff) | |
parent | 42c3d05d2bf8d301efaa90e1312a24cd95119d9b (diff) | |
download | servo-76a5c5d7d2e1fe675e73711b25701ba30812f5d9.tar.gz servo-76a5c5d7d2e1fe675e73711b25701ba30812f5d9.zip |
Auto merge of #29237 - servo:simplify-wpt-run, r=jdm
Simplify Python code for running WPT tests
Combine `run.py` and `update.py` into `servowpt.py` in order to allow them to share code. Import them directly into the mach script to avoid having to call `compile` and `exec` on the code. This makes it clearer how they are executed. In addition, move all of the setup into `setupwpt.py` to avoid differences between tests executed via mach and not. Finally, be more ambitious when detecting the build to use. If none was specified, try to use the one that exists between "release" and "debug."
<!-- Please describe your changes on the following line: -->
---
<!-- 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
- [x] These changes do not require tests because they only change a small script behavior.
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Diffstat (limited to 'python/servo/bootstrap.py')
0 files changed, 0 insertions, 0 deletions