RESOLVED FIXED 97621
webkit-patch rebaseline-expectations should take a --platform arg
https://bugs.webkit.org/show_bug.cgi?id=97621
Summary webkit-patch rebaseline-expectations should take a --platform arg
Dirk Pranke
Reported 2012-09-25 18:36:01 PDT
webkit-patch rebaseline-expectations should take a --platform arg
Attachments
Patch (5.82 KB, patch)
2012-09-25 18:37 PDT, Dirk Pranke
no flags
Patch (9.83 KB, patch)
2012-11-02 19:35 PDT, Dirk Pranke
ojan: review+
Dirk Pranke
Comment 1 2012-09-25 18:37:02 PDT
Dirk Pranke
Comment 2 2012-09-25 18:37:31 PDT
Note that this still needs a test ...
Dirk Pranke
Comment 3 2012-11-02 19:35:14 PDT
Dirk Pranke
Comment 4 2012-11-02 19:36:47 PDT
unfortunately, because of the way the code is structured (with the parallel fork of rebaseline-test-internal) it's hard to really test this very well. I don't think the unit tests for --platform=* add much. I did test a bunch by hand (which is how I discovered the locking problem). Let me know if you want me to split the locking code out into a separate patch.
Ojan Vafai
Comment 5 2012-11-02 22:12:19 PDT
Comment on attachment 172195 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=172195&action=review > Tools/Scripts/webkitpy/tool/commands/rebaseline.py:157 > + try: Maybe add a FIXME to handle these the same way we do the SCM updates?
Dirk Pranke
Comment 6 2012-11-05 10:34:31 PST
(In reply to comment #5) > (From update of attachment 172195 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=172195&action=review > > > Tools/Scripts/webkitpy/tool/commands/rebaseline.py:157 > > + try: > > Maybe add a FIXME to handle these the same way we do the SCM updates? Will do. I'm actually thinking about reworking the way we do parallelism differently; given that the slow part is fetching the URLs, maybe we should just do that in parallel and do the rest of the work all at once (as if we were rebaselining locally). I'll probably fool around with this approach and see how it goes ...
Dirk Pranke
Comment 7 2012-11-05 11:26:54 PST
Note You need to log in before you can comment on or make changes to this bug.