| 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 |
| 11 # in the documentation and/or other materials provided with the | 11 # in the documentation and/or other materials provided with the |
| (...skipping 22 matching lines...) Expand all Loading... |
| 34 # In this dictionary, each item stores: | 34 # In this dictionary, each item stores: |
| 35 # * port_name -- a fully qualified port name | 35 # * port_name -- a fully qualified port name |
| 36 # * rebaseline_override_dir -- (optional) directory to put baselines in instead
of where you would normally put them. | 36 # * rebaseline_override_dir -- (optional) directory to put baselines in instead
of where you would normally put them. |
| 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']}, | |
| 45 "WebKit Win7": {"port_name": "win-win7", "specifiers": ['Win7', 'Release']}, | 44 "WebKit Win7": {"port_name": "win-win7", "specifiers": ['Win7', 'Release']}, |
| 46 "WebKit Win7 (dbg)": {"port_name": "win-win7", "specifiers": ['Win7', 'Debug
']}, | 45 "WebKit Win7 (dbg)": {"port_name": "win-win7", "specifiers": ['Win7', 'Debug
']}, |
| 47 "WebKit Win10": {"port_name": "win-win10", "specifiers": ['Win10', 'Release'
]}, | 46 "WebKit Win10": {"port_name": "win-win10", "specifiers": ['Win10', 'Release'
]}, |
| 48 # FIXME: Rename this to 'WebKit Linux Precise' | 47 # FIXME: Rename this to 'WebKit Linux Precise' |
| 49 "WebKit Linux": {"port_name": "linux-precise", "specifiers": ['Precise', 'Re
lease']}, | 48 "WebKit Linux": {"port_name": "linux-precise", "specifiers": ['Precise', 'Re
lease']}, |
| 50 "WebKit Linux Trusty": {"port_name": "linux-trusty", "specifiers": ['Trusty'
, 'Release']}, | 49 "WebKit Linux Trusty": {"port_name": "linux-trusty", "specifiers": ['Trusty'
, 'Release']}, |
| 51 "WebKit Linux 32": {"port_name": "linux-x86", "specifiers": ['Linux32', 'Rel
ease']}, | 50 "WebKit Linux 32": {"port_name": "linux-x86", "specifiers": ['Linux32', 'Rel
ease']}, |
| 52 "WebKit Linux (dbg)": {"port_name": "linux-precise", "specifiers": ['Precise
', 'Debug']}, | 51 "WebKit Linux (dbg)": {"port_name": "linux-precise", "specifiers": ['Precise
', 'Debug']}, |
| 53 "WebKit Mac10.6": {"port_name": "mac-snowleopard", "specifiers": ['SnowLeopa
rd', 'Release']}, | 52 "WebKit Mac10.6": {"port_name": "mac-snowleopard", "specifiers": ['SnowLeopa
rd', 'Release']}, |
| 54 "WebKit Mac10.7": {"port_name": "mac-lion", "specifiers": ['Lion', 'Release'
]}, | 53 "WebKit Mac10.7": {"port_name": "mac-lion", "specifiers": ['Lion', 'Release'
]}, |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 if builder_info['port_name'] == target_port_name: | 94 if builder_info['port_name'] == target_port_name: |
| 96 if 'dbg' in builder_name: | 95 if 'dbg' in builder_name: |
| 97 debug_builder_name = builder_name | 96 debug_builder_name = builder_name |
| 98 else: | 97 else: |
| 99 return builder_name | 98 return builder_name |
| 100 return debug_builder_name | 99 return debug_builder_name |
| 101 | 100 |
| 102 | 101 |
| 103 def builder_path_for_port_name(port_name): | 102 def builder_path_for_port_name(port_name): |
| 104 builder_path_from_name(builder_name_for_port_name(port_name)) | 103 builder_path_from_name(builder_name_for_port_name(port_name)) |
| OLD | NEW |