Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (C) 2010 Google Inc. All rights reserved. | 1 # Copyright (C) 2010 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 98 # FIXME: We treat Retina (High-DPI) devices as if they are running | 98 # FIXME: We treat Retina (High-DPI) devices as if they are running |
| 99 # a different operating system version. This isn't accurate, but will wo rk until | 99 # a different operating system version. This isn't accurate, but will wo rk until |
| 100 # we need to test and support baselines across multiple O/S versions. | 100 # we need to test and support baselines across multiple O/S versions. |
| 101 ('retina', 'x86'), | 101 ('retina', 'x86'), |
| 102 | 102 |
| 103 ('mountainlion', 'x86'), | 103 ('mountainlion', 'x86'), |
| 104 ('mavericks', 'x86'), | 104 ('mavericks', 'x86'), |
| 105 ('yosemite', 'x86'), | 105 ('yosemite', 'x86'), |
| 106 ('xp', 'x86'), | 106 ('xp', 'x86'), |
| 107 ('win7', 'x86'), | 107 ('win7', 'x86'), |
| 108 ('win8', 'x86'), | |
| 109 ('win8', 'x86_64'), | |
|
Dirk Pranke
2015/08/13 20:08:35
are we supporting both 32-bit and 64-bit win8 vers
joelo
2015/08/13 20:46:13
Ah good point, we will be. I meant to do it as a s
| |
| 110 ('win10', 'x86'), | |
| 108 # FIXME: We handle 32bit Linux similarly to Mac retina above treating it | 111 # FIXME: We handle 32bit Linux similarly to Mac retina above treating it |
| 109 # as a different system for now. | 112 # as a different system for now. |
| 110 ('linux32', 'x86'), | 113 ('linux32', 'x86'), |
| 111 ('precise', 'x86_64'), | 114 ('precise', 'x86_64'), |
| 112 ('trusty', 'x86_64'), | 115 ('trusty', 'x86_64'), |
| 113 # FIXME: Technically this should be 'arm', but adding a third architectu re type breaks TestConfigurationConverter. | 116 # FIXME: Technically this should be 'arm', but adding a third architectu re type breaks TestConfigurationConverter. |
| 114 # If we need this to be 'arm' in the future, then we first have to fix T estConfigurationConverter. | 117 # If we need this to be 'arm' in the future, then we first have to fix T estConfigurationConverter. |
| 115 ('icecreamsandwich', 'x86'), | 118 ('icecreamsandwich', 'x86'), |
| 116 ) | 119 ) |
| 117 | 120 |
| 118 ALL_BASELINE_VARIANTS = [ | 121 ALL_BASELINE_VARIANTS = [ |
| 119 'mac-yosemite', 'mac-mavericks', 'mac-retina', 'mac-mountainlion', 'mac- lion', 'mac-snowleopard', | 122 'mac-yosemite', 'mac-mavericks', 'mac-retina', 'mac-mountainlion', 'mac- lion', 'mac-snowleopard', |
| 120 'win-win7', 'win-xp', | 123 'win-win10', 'win-win8', 'win-win7', 'win-xp' |
| 121 'linux-trusty', 'linux-precise', 'linux-x86', | 124 'linux-trusty', 'linux-precise', 'linux-x86', |
| 122 ] | 125 ] |
| 123 | 126 |
| 124 CONFIGURATION_SPECIFIER_MACROS = { | 127 CONFIGURATION_SPECIFIER_MACROS = { |
| 125 'mac': ['snowleopard', 'lion', 'mountainlion', 'retina', 'mavericks', 'y osemite'], | 128 'mac': ['snowleopard', 'lion', 'mountainlion', 'retina', 'mavericks', 'y osemite'], |
| 126 'win': ['xp', 'win7'], | 129 'win': ['xp', 'win7', 'win8', 'win10'], |
| 127 'linux': ['linux32', 'precise', 'trusty'], | 130 'linux': ['linux32', 'precise', 'trusty'], |
| 128 'android': ['icecreamsandwich'], | 131 'android': ['icecreamsandwich'], |
| 129 } | 132 } |
| 130 | 133 |
| 131 DEFAULT_BUILD_DIRECTORIES = ('out',) | 134 DEFAULT_BUILD_DIRECTORIES = ('out',) |
| 132 | 135 |
| 133 # overridden in subclasses. | 136 # overridden in subclasses. |
| 134 FALLBACK_PATHS = {} | 137 FALLBACK_PATHS = {} |
| 135 | 138 |
| 136 SUPPORTED_VERSIONS = [] | 139 SUPPORTED_VERSIONS = [] |
| (...skipping 1651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1788 class PhysicalTestSuite(object): | 1791 class PhysicalTestSuite(object): |
| 1789 def __init__(self, base, args, reference_args=None): | 1792 def __init__(self, base, args, reference_args=None): |
| 1790 self.name = base | 1793 self.name = base |
| 1791 self.base = base | 1794 self.base = base |
| 1792 self.args = args | 1795 self.args = args |
| 1793 self.reference_args = args if reference_args is None else reference_args | 1796 self.reference_args = args if reference_args is None else reference_args |
| 1794 self.tests = set() | 1797 self.tests = set() |
| 1795 | 1798 |
| 1796 def __repr__(self): | 1799 def __repr__(self): |
| 1797 return "PhysicalTestSuite('%s', '%s', %s, %s)" % (self.name, self.base, self.args, self.reference_args) | 1800 return "PhysicalTestSuite('%s', '%s', %s, %s)" % (self.name, self.base, self.args, self.reference_args) |
| OLD | NEW |