Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Перейти к файлу
Matt Brubeck 65c73bf899 servo: Merge #9607 - Add a "mach test-wpt --chaos" mode for reproducing intermittent failures using rr (from mbrubeck:chaos); r=jgraham
This adds a new `--chaos` flag to the `test-wpt` and `test-css` commands.  This will run a test repeatedly until it fails, recording it with the rr debugger in chaos mode. Requires a recent master build of rr.

```
./mach test-wpt --chaos test.html
```
is shorthand for:
```
./mach test-wpt --repeat-until-unexpected \
                --debugger rr \
                --debugger-args "record --chaos" \
                --include test.html
```
This PR currently includes changes to wptrunner which were also submitted upstream as w3c/wptrunner#170.  We should not merge this until that upstream PR is merged. CC @jgraham

Source-Repo: https://github.com/servo/servo
Source-Revision: faa349fb876c4b163ba14623899c9f4e6ab3d0eb
2016-02-12 03:05:47 +05:01
servo servo: Merge #9607 - Add a "mach test-wpt --chaos" mode for reproducing intermittent failures using rr (from mbrubeck:chaos); r=jgraham 2016-02-12 03:05:47 +05:01