Bug 90905

Summary: webkit-patch rebaseline doesn't work for audio/pixel tests
Product: WebKit Reporter: Ojan Vafai <ojan>
Component: New BugsAssignee: Ojan Vafai <ojan>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, dpranke, eric
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch abarth: review+

Description Ojan Vafai 2012-07-10 13:46:32 PDT
webkit-patch rebaseline doesn't work for audio/pixel tests
Comment 1 Ojan Vafai 2012-07-10 13:47:54 PDT
Created attachment 151514 [details]
Patch
Comment 2 Adam Barth 2012-07-10 13:50:57 PDT
Comment on attachment 151514 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=151514&action=review

> Tools/Scripts/webkitpy/tool/commands/rebaseline.py:421
> +                test_list[test][builder.name()] = self._suffixes_to_update(options)

I assume this does something sensible if the requested suffix doesn't exist on the server.
Comment 3 Ojan Vafai 2012-07-10 13:53:14 PDT
(In reply to comment #2)
> (From update of attachment 151514 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=151514&action=review
> 
> > Tools/Scripts/webkitpy/tool/commands/rebaseline.py:421
> > +                test_list[test][builder.name()] = self._suffixes_to_update(options)
> 
> I assume this does something sensible if the requested suffix doesn't exist on the server.

Yup.
Comment 4 Ojan Vafai 2012-07-10 13:54:31 PDT
Committed r122258: <http://trac.webkit.org/changeset/122258>
Comment 5 Dirk Pranke 2012-07-11 12:25:59 PDT
Comment on attachment 151514 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=151514&action=review

> Tools/Scripts/webkitpy/tool/commands/rebaseline.py:404
> +        return suffixes

minor nit ... if you specify the same suffix multiple times on the command line, this doesn't de-dup them, and it doesn't look like the underlying code checks for this either. Someone probably should :).