mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Update web-platform-tests to revision 68a256f49be380ca4add535ce8ece9de28820e6b
This commit is contained in:
parent
e54935c25a
commit
cd5bf022bd
178 changed files with 6082 additions and 795 deletions
|
@ -1,6 +1,10 @@
|
|||
To run WPT on Chrome on an android device, some additional set up is required.
|
||||
First until we find a better way, we need to root the android device and update
|
||||
the /etc/hosts file to include
|
||||
|
||||
First of all, as usual Android development, we need to have `adb` and be able to
|
||||
connect to the device.
|
||||
|
||||
Furthermore, until we find a better way, we need to root the android device and
|
||||
update the /etc/hosts file to include
|
||||
|
||||
```
|
||||
127.0.0.1 web-platform.test
|
||||
|
@ -12,22 +16,6 @@ the /etc/hosts file to include
|
|||
0.0.0.0 nonexistent-origin.web-platform.test
|
||||
```
|
||||
|
||||
Next, we need to start adb and reverse forward the web-platform.tests ports
|
||||
|
||||
```
|
||||
adb start-server
|
||||
```
|
||||
|
||||
Add any ports that you need based on your config. For example:
|
||||
```
|
||||
adb reverse tcp:8000 tcp:8000
|
||||
adb reverse tcp:8001 tcp:8001
|
||||
adb reverse tcp:8081 tcp:8081
|
||||
adb reverse tcp:8444 tcp:8444
|
||||
adb reverse tcp:9001 tcp:9001
|
||||
adb reverse tcp:9444 tcp:9444
|
||||
```
|
||||
|
||||
After this, we may run wpt with the `chrome_android` product
|
||||
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue