WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
66446
webkit-patch should have a command to mass-remove platform-dependent expected results
https://bugs.webkit.org/show_bug.cgi?id=66446
Summary
webkit-patch should have a command to mass-remove platform-dependent expected...
Ryosuke Niwa
Reported
2011-08-17 19:05:02 PDT
Whenever I do a dump-as-markup conversions (e.g.
bug 66416
,
bug 66420
,
bug 66440
,
bug 66443
), I have to remove all platform-specific results and rebaseline test. However this is quite tedious to do by hand because I'd have to find all expected.* in LayoutTests/platform for that particular test. webkit-patch should have a command to do this.
Attachments
script
(9.78 KB, application/octet-stream)
2011-08-17 19:06 PDT
,
Ryosuke Niwa
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2011-08-17 19:06:26 PDT
Created
attachment 104295
[details]
script Here's a python script I use locally but it only works on svn checkout as of now.
Adam Barth
Comment 2
2011-08-17 20:08:42 PDT
If you look in
http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/tool/commands/rebaseline.py
you'll see a bunch of code that does similar things. It should be easy to build something using those building blocks.
Adam Barth
Comment 3
2011-08-17 20:09:44 PDT
Notice that
http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/tool/commands/rebaseline.py#L128
can print a list of all these files, so you just need to call self._tool.filesystem.remove(...) on them.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug