OLD | NEW |
1 # Copyright (C) 2011 Google Inc. All rights reserved. | 1 # Copyright (C) 2011 Google Inc. All rights reserved. |
2 # | 2 # |
3 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
4 # modification, are permitted provided that the following conditions are | 4 # modification, are permitted provided that the following conditions are |
5 # met: | 5 # met: |
6 # | 6 # |
7 # * Redistributions of source code must retain the above copyright | 7 # * Redistributions of source code must retain the above copyright |
8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
9 # * Redistributions in binary form must reproduce the above | 9 # * Redistributions in binary form must reproduce the above |
10 # copyright notice, this list of conditions and the following disclaimer | 10 # copyright notice, this list of conditions and the following disclaimer |
(...skipping 26 matching lines...) Expand all Loading... |
37 # This is useful when we don't have bots that cover particular configuratio
ns; so, e.g., you might | 37 # This is useful when we don't have bots that cover particular configuratio
ns; so, e.g., you might |
38 # support mac-mountainlion but not have a mac-mountainlion bot yet, so you'
d want to put the mac-lion | 38 # support mac-mountainlion but not have a mac-mountainlion bot yet, so you'
d want to put the mac-lion |
39 # results into platform/mac temporarily. | 39 # results into platform/mac temporarily. |
40 # * specifiers -- TestExpectation specifiers for that config. Valid values are f
ound in | 40 # * specifiers -- TestExpectation specifiers for that config. Valid values are f
ound in |
41 # TestExpectationsParser._configuration_tokens_list | 41 # TestExpectationsParser._configuration_tokens_list |
42 | 42 |
43 _exact_matches = { | 43 _exact_matches = { |
44 "WebKit XP": {"port_name": "win-xp", "specifiers": ['XP', 'Release']}, | 44 "WebKit XP": {"port_name": "win-xp", "specifiers": ['XP', 'Release']}, |
45 "WebKit Win7": {"port_name": "win-win7", "specifiers": ['Win7', 'Release']}, | 45 "WebKit Win7": {"port_name": "win-win7", "specifiers": ['Win7', 'Release']}, |
46 "WebKit Win7 (dbg)": {"port_name": "win-win7", "specifiers": ['Win7', 'Debug
']}, | 46 "WebKit Win7 (dbg)": {"port_name": "win-win7", "specifiers": ['Win7', 'Debug
']}, |
| 47 "WebKit Win8": {"port_name": "win-win8", "specifiers": ['Win8', 'Release']}, |
| 48 "WebKit Win10": {"port_name": "win-win10", "specifiers": ['Win10', 'Release'
]}, |
47 # FIXME: Rename this to 'WebKit Linux Precise' | 49 # FIXME: Rename this to 'WebKit Linux Precise' |
48 "WebKit Linux": {"port_name": "linux-precise", "specifiers": ['Precise', 'Re
lease']}, | 50 "WebKit Linux": {"port_name": "linux-precise", "specifiers": ['Precise', 'Re
lease']}, |
49 "WebKit Linux Trusty": {"port_name": "linux-trusty", "specifiers": ['Trusty'
, 'Release']}, | 51 "WebKit Linux Trusty": {"port_name": "linux-trusty", "specifiers": ['Trusty'
, 'Release']}, |
50 "WebKit Linux 32": {"port_name": "linux-x86", "specifiers": ['Linux32', 'Rel
ease']}, | 52 "WebKit Linux 32": {"port_name": "linux-x86", "specifiers": ['Linux32', 'Rel
ease']}, |
51 "WebKit Linux (dbg)": {"port_name": "linux-precise", "specifiers": ['Precise
', 'Debug']}, | 53 "WebKit Linux (dbg)": {"port_name": "linux-precise", "specifiers": ['Precise
', 'Debug']}, |
52 "WebKit Mac10.6": {"port_name": "mac-snowleopard", "specifiers": ['SnowLeopa
rd', 'Release']}, | 54 "WebKit Mac10.6": {"port_name": "mac-snowleopard", "specifiers": ['SnowLeopa
rd', 'Release']}, |
53 "WebKit Mac10.6 (dbg)": {"port_name": "mac-snowleopard", "specifiers": ['Sno
wLeopard', 'Debug']}, | 55 "WebKit Mac10.6 (dbg)": {"port_name": "mac-snowleopard", "specifiers": ['Sno
wLeopard', 'Debug']}, |
54 "WebKit Mac10.7": {"port_name": "mac-lion", "specifiers": ['Lion', 'Release'
]}, | 56 "WebKit Mac10.7": {"port_name": "mac-lion", "specifiers": ['Lion', 'Release'
]}, |
55 "WebKit Mac10.7 (dbg)": {"port_name": "mac-lion", "specifiers": ['Lion', 'De
bug']}, | 57 "WebKit Mac10.7 (dbg)": {"port_name": "mac-lion", "specifiers": ['Lion', 'De
bug']}, |
56 "WebKit Mac10.8": {"port_name": "mac-mountainlion", "specifiers": ['Mountain
Lion', 'Release']}, | 58 "WebKit Mac10.8": {"port_name": "mac-mountainlion", "specifiers": ['Mountain
Lion', 'Release']}, |
57 "WebKit Mac10.9 (retina)": {"port_name": "mac-retina", "specifiers": ['Retin
a', 'Release']}, | 59 "WebKit Mac10.9 (retina)": {"port_name": "mac-retina", "specifiers": ['Retin
a', 'Release']}, |
58 "WebKit Mac10.9": {"port_name": "mac-mavericks", "specifiers": ['Mavericks',
'Release']}, | 60 "WebKit Mac10.9": {"port_name": "mac-mavericks", "specifiers": ['Mavericks',
'Release']}, |
59 "WebKit Mac10.10": {"port_name": "mac-yosemite", "specifiers": ['Yosemite',
'Release']}, | 61 "WebKit Mac10.10": {"port_name": "mac-yosemite", "specifiers": ['Yosemite',
'Release']}, |
60 "WebKit Android (Nexus4)": {"port_name": "android", "specifiers": ['Android'
, 'Release']}, | 62 "WebKit Android (Nexus4)": {"port_name": "android", "specifiers": ['Android'
, 'Release']}, |
61 } | 63 } |
62 | 64 |
63 | 65 |
64 # Mapping from port name to the deps builder of the same os: | 66 # Mapping from port name to the deps builder of the same os: |
65 _deps_builders = { | 67 _deps_builders = { |
66 "linux-x86": "WebKit Linux (deps)", | 68 "linux-x86": "WebKit Linux (deps)", |
67 "linux-precise": "WebKit Linux (deps)", | 69 "linux-precise": "WebKit Linux (deps)", |
68 "linux-trusty": "WebKit Linux (deps)", | 70 "linux-trusty": "WebKit Linux (deps)", |
69 "win-xp": "WebKit XP (deps)", | 71 "win-xp": "WebKit XP (deps)", |
70 "win-win7": "WebKit XP (deps)", | 72 "win-win7": "WebKit XP (deps)", |
| 73 "win-win8": "WebKit XP (deps)", |
| 74 "win-win10": "WebKit XP (deps)", |
71 "mac-snowleopard": "WebKit Mac10.6 (deps)", | 75 "mac-snowleopard": "WebKit Mac10.6 (deps)", |
72 # The following port names are mapped to 10.6 bot since we don't have bots | 76 # The following port names are mapped to 10.6 bot since we don't have bots |
73 # for these ports. | 77 # for these ports. |
74 "mac-lion": "WebKit Mac10.6 (deps)", | 78 "mac-lion": "WebKit Mac10.6 (deps)", |
75 "mac-mountainlion": "WebKit Mac10.6 (deps)", | 79 "mac-mountainlion": "WebKit Mac10.6 (deps)", |
76 "mac-mavericks": "WebKit Mac10.6 (deps)", | 80 "mac-mavericks": "WebKit Mac10.6 (deps)", |
77 "mac-retina": "WebKit Mac10.6 (deps)", | 81 "mac-retina": "WebKit Mac10.6 (deps)", |
78 "mac-yosemite": "WebKit Mac10.6 (deps)", | 82 "mac-yosemite": "WebKit Mac10.6 (deps)", |
79 } | 83 } |
80 | 84 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 return builder_name | 121 return builder_name |
118 return debug_builder_name | 122 return debug_builder_name |
119 | 123 |
120 | 124 |
121 def builder_path_for_port_name(port_name): | 125 def builder_path_for_port_name(port_name): |
122 builder_path_from_name(builder_name_for_port_name(port_name)) | 126 builder_path_from_name(builder_name_for_port_name(port_name)) |
123 | 127 |
124 | 128 |
125 def deps_builder_name_for_port_name(target_port_name): | 129 def deps_builder_name_for_port_name(target_port_name): |
126 return _deps_builders.get(target_port_name, None) | 130 return _deps_builders.get(target_port_name, None) |
OLD | NEW |