Platform/GFX/Quantum Render: Difference between revisions

→‎Locally: Add link to MDN page for WR standalone test jobs
(Add untriaged)
(→‎Locally: Add link to MDN page for WR standalone test jobs)
Line 131: Line 131:
=== Locally ===
=== Locally ===


If you want to run tests locally, you can use <tt>mach</tt> to run them as you would for Gecko normally. Just be sure to set <tt>MOZ_WEBRENDER=1</tt> when running to enable WebRender. On Linux, you should also set <tt>MOZ_ACCELERATED=1</tt> to enable hardware acceleration, without which WebRender will be disabled at runtime. For example, to run the sanity reftests which is a good smoketest that you didn't horribly break everything, you can do this:
If you want to run QR tests locally, you can use <tt>mach</tt> to run them as you would for Gecko normally. Just be sure to set <tt>MOZ_WEBRENDER=1</tt> when running to enable WebRender. On Linux, you should also set <tt>MOZ_ACCELERATED=1</tt> to enable hardware acceleration, without which WebRender will be disabled at runtime. For example, to run the sanity reftests which is a good smoketest that you didn't horribly break everything, you can do this:


   MOZ_ACCELERATED=1 MOZ_WEBRENDER=1 ./mach reftest layout/reftests/reftest-sanity/
   MOZ_ACCELERATED=1 MOZ_WEBRENDER=1 ./mach reftest layout/reftests/reftest-sanity/
You can also run the WR standalone tests (without the Gecko stuff) locally. The page at https://developer.mozilla.org/en-US/docs/Mozilla/QA/WebRender describes how to do this.


=== Try pushes ===
=== Try pushes ===
Confirmed users
586

edits