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 "WebKit Win10": {"port_name": "win-win10", "specifiers": ['Win10', 'Release'
]}, |
49 # FIXME: Rename this to 'WebKit Linux Precise' | 48 # FIXME: Rename this to 'WebKit Linux Precise' |
50 "WebKit Linux": {"port_name": "linux-precise", "specifiers": ['Precise', 'Re
lease']}, | 49 "WebKit Linux": {"port_name": "linux-precise", "specifiers": ['Precise', 'Re
lease']}, |
51 "WebKit Linux Trusty": {"port_name": "linux-trusty", "specifiers": ['Trusty'
, 'Release']}, | 50 "WebKit Linux Trusty": {"port_name": "linux-trusty", "specifiers": ['Trusty'
, 'Release']}, |
52 "WebKit Linux 32": {"port_name": "linux-x86", "specifiers": ['Linux32', 'Rel
ease']}, | 51 "WebKit Linux 32": {"port_name": "linux-x86", "specifiers": ['Linux32', 'Rel
ease']}, |
53 "WebKit Linux (dbg)": {"port_name": "linux-precise", "specifiers": ['Precise
', 'Debug']}, | 52 "WebKit Linux (dbg)": {"port_name": "linux-precise", "specifiers": ['Precise
', 'Debug']}, |
54 "WebKit Mac10.6": {"port_name": "mac-snowleopard", "specifiers": ['SnowLeopa
rd', 'Release']}, | 53 "WebKit Mac10.6": {"port_name": "mac-snowleopard", "specifiers": ['SnowLeopa
rd', 'Release']}, |
55 "WebKit Mac10.6 (dbg)": {"port_name": "mac-snowleopard", "specifiers": ['Sno
wLeopard', 'Debug']}, | 54 "WebKit Mac10.6 (dbg)": {"port_name": "mac-snowleopard", "specifiers": ['Sno
wLeopard', 'Debug']}, |
56 "WebKit Mac10.7": {"port_name": "mac-lion", "specifiers": ['Lion', 'Release'
]}, | 55 "WebKit Mac10.7": {"port_name": "mac-lion", "specifiers": ['Lion', 'Release'
]}, |
57 "WebKit Mac10.7 (dbg)": {"port_name": "mac-lion", "specifiers": ['Lion', 'De
bug']}, | 56 "WebKit Mac10.7 (dbg)": {"port_name": "mac-lion", "specifiers": ['Lion', 'De
bug']}, |
58 "WebKit Mac10.8": {"port_name": "mac-mountainlion", "specifiers": ['Mountain
Lion', 'Release']}, | 57 "WebKit Mac10.8": {"port_name": "mac-mountainlion", "specifiers": ['Mountain
Lion', 'Release']}, |
59 "WebKit Mac10.9 (retina)": {"port_name": "mac-retina", "specifiers": ['Retin
a', 'Release']}, | 58 "WebKit Mac10.9 (retina)": {"port_name": "mac-retina", "specifiers": ['Retin
a', 'Release']}, |
60 "WebKit Mac10.9": {"port_name": "mac-mavericks", "specifiers": ['Mavericks',
'Release']}, | 59 "WebKit Mac10.9": {"port_name": "mac-mavericks", "specifiers": ['Mavericks',
'Release']}, |
61 "WebKit Mac10.10": {"port_name": "mac-yosemite", "specifiers": ['Yosemite',
'Release']}, | 60 "WebKit Mac10.10": {"port_name": "mac-yosemite", "specifiers": ['Yosemite',
'Release']}, |
62 "WebKit Android (Nexus4)": {"port_name": "android", "specifiers": ['Android'
, 'Release']}, | 61 "WebKit Android (Nexus4)": {"port_name": "android", "specifiers": ['Android'
, 'Release']}, |
63 } | 62 } |
64 | 63 |
65 | 64 |
66 # Mapping from port name to the deps builder of the same os: | 65 # Mapping from port name to the deps builder of the same os: |
67 _deps_builders = { | 66 _deps_builders = { |
68 "linux-x86": "WebKit Linux (deps)", | 67 "linux-x86": "WebKit Linux (deps)", |
69 "linux-precise": "WebKit Linux (deps)", | 68 "linux-precise": "WebKit Linux (deps)", |
70 "linux-trusty": "WebKit Linux (deps)", | 69 "linux-trusty": "WebKit Linux (deps)", |
71 "win-xp": "WebKit XP (deps)", | 70 "win-xp": "WebKit XP (deps)", |
72 "win-win7": "WebKit XP (deps)", | 71 "win-win7": "WebKit XP (deps)", |
73 "win-win8": "WebKit XP (deps)", | |
74 "win-win10": "WebKit XP (deps)", | 72 "win-win10": "WebKit XP (deps)", |
75 "mac-snowleopard": "WebKit Mac10.6 (deps)", | 73 "mac-snowleopard": "WebKit Mac10.6 (deps)", |
76 # The following port names are mapped to 10.6 bot since we don't have bots | 74 # The following port names are mapped to 10.6 bot since we don't have bots |
77 # for these ports. | 75 # for these ports. |
78 "mac-lion": "WebKit Mac10.6 (deps)", | 76 "mac-lion": "WebKit Mac10.6 (deps)", |
79 "mac-mountainlion": "WebKit Mac10.6 (deps)", | 77 "mac-mountainlion": "WebKit Mac10.6 (deps)", |
80 "mac-mavericks": "WebKit Mac10.6 (deps)", | 78 "mac-mavericks": "WebKit Mac10.6 (deps)", |
81 "mac-retina": "WebKit Mac10.6 (deps)", | 79 "mac-retina": "WebKit Mac10.6 (deps)", |
82 "mac-yosemite": "WebKit Mac10.6 (deps)", | 80 "mac-yosemite": "WebKit Mac10.6 (deps)", |
83 } | 81 } |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 return builder_name | 119 return builder_name |
122 return debug_builder_name | 120 return debug_builder_name |
123 | 121 |
124 | 122 |
125 def builder_path_for_port_name(port_name): | 123 def builder_path_for_port_name(port_name): |
126 builder_path_from_name(builder_name_for_port_name(port_name)) | 124 builder_path_from_name(builder_name_for_port_name(port_name)) |
127 | 125 |
128 | 126 |
129 def deps_builder_name_for_port_name(target_port_name): | 127 def deps_builder_name_for_port_name(target_port_name): |
130 return _deps_builders.get(target_port_name, None) | 128 return _deps_builders.get(target_port_name, None) |
OLD | NEW |