Commit graph

11 commits

Author SHA1 Message Date
Martin Robinson
e2cf3e8d1a Reorganize Servo's WPT Python scripts
This change moves all of Servo's WPT Python support scripts into one
directory as they were previously scattered throughout the directory
structure. This should allow more code reuse and make it easier to
understand how everything fits together.

The changes:

- `tests/wpt/update` → `python/wpt/importer`
- `etc/ci/upstream-wpt-changes/wptupstreamer` → `python/wpt/exporter`
- `etc/ci/upstream-wpt-changes/test.py` → `python/wpt/test.py`
- `etc/ci/upstream-wpt-changes/tests` → `python/wpt/tests`
- `tests/wpt/servowpt.py` →
    - `python/wpt/update.py`
    - `python/wpt/run.py`
- `tests/wpt/manifestupdate.py` → `python/wpt/manifestupdate.py`

This change also removes
 - The ability to run the `update-wpt` and `test-wpt` commands without
   using `mach`. These didn't work very well, because it was difficult
   to get all of the wptrunner and mach dependencies installed outside
   of the Python virtualenv. It's simpler if they are always run through
   `mach`.
- The old WPT change upstreaming script that was no longer used.
2023-04-20 12:24:55 +02:00
CYBAI
55f0d5ade1 Diff manifests with raw string
After WPT moves to "Manifest path trie RFC", we don't have the `paths`
field in manifest anymore.

But, we still have file hash in the `items` field; the simplest way to
diff between manifests is to compare the raw string value of the `items`
field. When we have different manifests, we must have different items
field in the manifest json.
2020-02-20 00:30:00 +09:00
marmeladema
7fdd0b94cf tests/wpt: use iterkeys, itervalues and iteritems from six package 2019-10-22 10:16:01 +01:00
Josh Matthews
fa0194fe23 Stop using deprecated manifest loading APIs. 2019-03-20 10:51:03 -04:00
Josh Matthews
cc7e21000a Stop using deprecated meta_key API. 2019-03-20 10:51:01 -04:00
Josh Matthews
33f5066a23 Make unclean manifest error show actual erroring manifest. 2019-03-20 10:51:00 -04:00
Josh Matthews
6428901c41 Make rebuild flag work. 2019-03-20 10:50:59 -04:00
Jan Andre Ikenmeyer
f1f409ffb6
Update MPL license to https (part 5) 2018-11-27 19:09:17 +01:00
Tom Servo
846c3ba1a3 Update manifest integration to reflect upstream API changes. 2018-11-23 15:48:02 -05:00
Josh Matthews
9f746b33a8 wpt: Handle wpt version number changes when updating the manifest. 2018-08-21 09:24:16 -04:00
Josh Matthews
8b378120a4 Avoid using WPT test runner to update the test manifest. 2018-03-16 02:17:49 -04:00