With the introduction of GPU-acceleration in Chromium, we need to test both the GPU-accelerated code paths and the software-only rendered code paths. We have introduced a new "webkit_gpu_tests" step on the Layout Tests bots (found on the http://build.chromium.org/p/chromium.webkit/console) that runs the GPU code paths. It is a bit different from the regular way we run new-run-webkit-tests:
The GPU tests are running on the WebKit layout test try servers (*_layout and *_layout_rel on http://build.chromium.org/p/tryserver.chromium/waterfall), the WebKit canaries, and the Chromium WebKit builders (the latter two found on http://build.chromium.org/p/chromium.webkit/waterfall). Related aside: There will be a separate WebKit-GPU sheriff rotation in addition to the normal WebKit gardening schedule (also coming soon!), so normal WebKit gardeners don't have to mess with GPU breakages. With that, here are the steps to run GPU-accelerated layout tests locally: 1. Build DumpRenderTree.
If you're getting strange errors for things that aren't defined like CSSValue.*, try a clean build! :) 2. Run the tests. % cd src ; third_party/WebKit/Tools/Scripts/new-run-webkit-tests --debug --print default,config --platform chromium-gpu 3. Send your patch to try server. % cd src ; git try --sub_repo third_party/WebKit --bot mac_layout,win_layout,linux_layout This assumes you're using git and have changes both in WebKit and Chromium; for other configurations, see Try Server usage |
