RESOLVED FIXED138729
Add shortcut macros to Mac TestExpectations
https://bugs.webkit.org/show_bug.cgi?id=138729
Summary Add shortcut macros to Mac TestExpectations
Alexey Proskuryakov
Reported 2014-11-14 00:09:02 PST
It is currently somewhat tricky to have different expectations for past and future OS X versions. Macros do the trick nicely. [ Mavericks+ ] fast/workers/shared-worker-constructor.html [ Skip ] [ Mavericks+ ] fast/workers/shared-worker-context-gc.html [ Skip ] [ Mavericks+ ] fast/workers/shared-worker-event-listener.html [ Skip ]
Attachments
proposed fix (29.68 KB, patch)
2014-11-14 00:17 PST, Alexey Proskuryakov
simon.fraser: review+
ap: commit-queue-
Alexey Proskuryakov
Comment 1 2014-11-14 00:17:52 PST
Created attachment 241561 [details] proposed fix
Tim Horton
Comment 2 2014-11-14 02:32:42 PST
Comment on attachment 241561 [details] proposed fix View in context: https://bugs.webkit.org/attachment.cgi?id=241561&action=review > Tools/Scripts/webkitpy/port/mac.py:94 > + def configuration_specifier_macros(self): Is it worth anything to make this a little more automatic? If it just had an ordered list of release names it could work out {name}+ itself. > Tools/Scripts/webkitpy/port/mac.py:96 > + "mountainlion+": ["mavericks", "yosemite", "future"], shouldn't this include mountainlion? > Tools/Scripts/webkitpy/port/mac.py:99 > + } I assume the functionality behind this was already implemented (explaining the lack of callers added in this patch)?
Alexey Proskuryakov
Comment 3 2014-11-14 09:37:02 PST
Comment on attachment 241561 [details] proposed fix View in context: https://bugs.webkit.org/attachment.cgi?id=241561&action=review >> Tools/Scripts/webkitpy/port/mac.py:94 >> + def configuration_specifier_macros(self): > > Is it worth anything to make this a little more automatic? If it just had an ordered list of release names it could work out {name}+ itself. Sounds like a good idea for a future improvement. I'd prefer to get this landed and move on for now. >> Tools/Scripts/webkitpy/port/mac.py:96 >> + "mountainlion+": ["mavericks", "yosemite", "future"], > > shouldn't this include mountainlion? Actually, we don't need MountainLion+ at all, I can delete this line when landing. >> Tools/Scripts/webkitpy/port/mac.py:99 >> + } > > I assume the functionality behind this was already implemented (explaining the lack of callers added in this patch)? Yes, that's correct.
Simon Fraser (smfr)
Comment 4 2014-11-14 09:40:06 PST
Comment on attachment 241561 [details] proposed fix View in context: https://bugs.webkit.org/attachment.cgi?id=241561&action=review >>> Tools/Scripts/webkitpy/port/mac.py:94 >>> + def configuration_specifier_macros(self): >> >> Is it worth anything to make this a little more automatic? If it just had an ordered list of release names it could work out {name}+ itself. > > Sounds like a good idea for a future improvement. I'd prefer to get this landed and move on for now. I wish we could just have one master list of os versions. Currently we have about 3.
Alexey Proskuryakov
Comment 5 2014-11-14 10:26:35 PST
Committed in r176127 and r176128 (for forgotten ChangeLog).
Note You need to log in before you can comment on or make changes to this bug.