Thanks to some new options in rr and wptrunner, we now have a very easy way
to start debugging intermittent test failures!  First, build the latest
version of rr from the master branch, and make sure that the `rr` binary is
somewhere in your $PATH:

https://github.com/mozilla/rr/

Then, run any test-wpt or test-css test with the `--chaos` flag:

./mach test-wpt --chaos path/to/intermittent/test.html

This will run the test repeatedly until it fails. It uses rr's new chaos
mode to randomize execution, to make failures more likely. And it records
each test run, so after it fails you can run `rr replay` to debug the
failure deterministically, with extra features like reverse execution.
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to