RESOLVED FIXED 50484
Rebaseline server: use pretty text diff output
https://bugs.webkit.org/show_bug.cgi?id=50484
Summary Rebaseline server: use pretty text diff output
Mihai Parparita
Reported 2010-12-03 13:58:00 PST
Rebaseline server: use pretty text diff output
Attachments
Patch (4.21 KB, patch)
2010-12-03 14:06 PST, Mihai Parparita
tony: review+
Mihai Parparita
Comment 1 2010-12-03 14:06:26 PST
Tony Chang
Comment 2 2010-12-03 14:22:12 PST
Comment on attachment 75540 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=75540&action=review > WebKitTools/Scripts/webkitpy/tool/commands/rebaselineserver.py:177 > + elif mode == 'diff-text-pretty': > + file_name = test_name + '-pretty-diff.html' I normally use dictionaries for stuff like this. E.g.: suffix = { 'expected-text': '-expected.txt', 'actual-text': '-actual.txt', ... }[mode] file_name = test_name + suffix But I don't feel strongly about it and this case is a bit awkward because it's a suffix.
Mihai Parparita
Comment 3 2010-12-03 17:46:34 PST
Note You need to log in before you can comment on or make changes to this bug.