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 ('win10', 'x86'), |
108 # FIXME: We handle 32bit Linux similarly to Mac retina above treating it | 110 # FIXME: We handle 32bit Linux similarly to Mac retina above treating it |
109 # as a different system for now. | 111 # as a different system for now. |
110 ('linux32', 'x86'), | 112 ('linux32', 'x86'), |
111 ('precise', 'x86_64'), | 113 ('precise', 'x86_64'), |
112 ('trusty', 'x86_64'), | 114 ('trusty', 'x86_64'), |
113 # FIXME: Technically this should be 'arm', but adding a third architectu
re type breaks TestConfigurationConverter. | 115 # 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. | 116 # If we need this to be 'arm' in the future, then we first have to fix T
estConfigurationConverter. |
115 ('icecreamsandwich', 'x86'), | 117 ('icecreamsandwich', 'x86'), |
116 ) | 118 ) |
117 | 119 |
118 ALL_BASELINE_VARIANTS = [ | 120 ALL_BASELINE_VARIANTS = [ |
119 'mac-yosemite', 'mac-mavericks', 'mac-retina', 'mac-mountainlion', 'mac-
lion', 'mac-snowleopard', | 121 'mac-yosemite', 'mac-mavericks', 'mac-retina', 'mac-mountainlion', 'mac-
lion', 'mac-snowleopard', |
120 'win-win7', 'win-xp', | 122 'win-win10', 'win-win8', 'win-win7', 'win-xp' |
121 'linux-trusty', 'linux-precise', 'linux-x86', | 123 'linux-trusty', 'linux-precise', 'linux-x86', |
122 ] | 124 ] |
123 | 125 |
124 CONFIGURATION_SPECIFIER_MACROS = { | 126 CONFIGURATION_SPECIFIER_MACROS = { |
125 'mac': ['snowleopard', 'lion', 'mountainlion', 'retina', 'mavericks', 'y
osemite'], | 127 'mac': ['snowleopard', 'lion', 'mountainlion', 'retina', 'mavericks', 'y
osemite'], |
126 'win': ['xp', 'win7'], | 128 'win': ['xp', 'win7', 'win8', 'win10'], |
127 'linux': ['linux32', 'precise', 'trusty'], | 129 'linux': ['linux32', 'precise', 'trusty'], |
128 'android': ['icecreamsandwich'], | 130 'android': ['icecreamsandwich'], |
129 } | 131 } |
130 | 132 |
131 DEFAULT_BUILD_DIRECTORIES = ('out',) | 133 DEFAULT_BUILD_DIRECTORIES = ('out',) |
132 | 134 |
133 # overridden in subclasses. | 135 # overridden in subclasses. |
134 FALLBACK_PATHS = {} | 136 FALLBACK_PATHS = {} |
135 | 137 |
136 SUPPORTED_VERSIONS = [] | 138 SUPPORTED_VERSIONS = [] |
(...skipping 1651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1788 class PhysicalTestSuite(object): | 1790 class PhysicalTestSuite(object): |
1789 def __init__(self, base, args, reference_args=None): | 1791 def __init__(self, base, args, reference_args=None): |
1790 self.name = base | 1792 self.name = base |
1791 self.base = base | 1793 self.base = base |
1792 self.args = args | 1794 self.args = args |
1793 self.reference_args = args if reference_args is None else reference_args | 1795 self.reference_args = args if reference_args is None else reference_args |
1794 self.tests = set() | 1796 self.tests = set() |
1795 | 1797 |
1796 def __repr__(self): | 1798 def __repr__(self): |
1797 return "PhysicalTestSuite('%s', '%s', %s, %s)" % (self.name, self.base,
self.args, self.reference_args) | 1799 return "PhysicalTestSuite('%s', '%s', %s, %s)" % (self.name, self.base,
self.args, self.reference_args) |
OLD | NEW |