RESOLVED FIXED72601
[GTK] enable ref tests
https://bugs.webkit.org/show_bug.cgi?id=72601
Summary [GTK] enable ref tests
Philippe Normand
Reported 2011-11-17 04:51:56 PST
They were disabled in bug 72599
Attachments
Patch (2.78 KB, patch)
2011-11-17 11:40 PST, Zan Dobersek
no flags
Patch (2.63 KB, patch)
2011-11-17 12:08 PST, Zan Dobersek
no flags
Zan Dobersek
Comment 1 2011-11-17 11:40:25 PST
Created attachment 115635 [details] Patch This is a small hack, adding 20 to the display number when the driver is also doing the pixel tests. It theoretically works as long as the number of workers is below 20, so feel free to advise on what to actually do to make this bullet-proof. The basic idea is for each driver to have its own Xvfb process up and running. This is the reason of the flakiness that caused bug #72599 to disable the ref tests.
Tony Chang
Comment 2 2011-11-17 11:51:48 PST
Comment on attachment 115635 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=115635&action=review Thanks for tracking this down! > Tools/Scripts/webkitpy/layout_tests/port/gtk.py:53 > + if self._pixel_tests: > + display_id += 20 We have machines with 24 cores. Instead of adding a constant, we could have: display_id = (self._worker_number + 1) * 2 if self._pixel_tests: display_id += 1
Zan Dobersek
Comment 3 2011-11-17 12:08:05 PST
Created attachment 115649 [details] Patch Thanks for the review! Rather used 'self._worker_number * 2 + 1', just to number the displays from 1 onwards.
Tony Chang
Comment 4 2011-11-17 12:15:44 PST
Comment on attachment 115649 [details] Patch Thanks!
WebKit Review Bot
Comment 5 2011-11-17 15:01:35 PST
Comment on attachment 115649 [details] Patch Clearing flags on attachment: 115649 Committed r100683: <http://trac.webkit.org/changeset/100683>
WebKit Review Bot
Comment 6 2011-11-17 15:01:40 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.