| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 80 |
| 81 ALL_SYSTEMS = ( | 81 ALL_SYSTEMS = ( |
| 82 # FIXME: We treat Retina (High-DPI) devices as if they are running a dif
ferent | 82 # FIXME: We treat Retina (High-DPI) devices as if they are running a dif
ferent |
| 83 # a different operating system version. This isn't accurate, but will | 83 # a different operating system version. This isn't accurate, but will |
| 84 # work until we need to test and support baselines across multiple OS ve
rsions. | 84 # work until we need to test and support baselines across multiple OS ve
rsions. |
| 85 ('retina', 'x86'), | 85 ('retina', 'x86'), |
| 86 | 86 |
| 87 ('mac10.9', 'x86'), | 87 ('mac10.9', 'x86'), |
| 88 ('mac10.10', 'x86'), | 88 ('mac10.10', 'x86'), |
| 89 ('mac10.11', 'x86'), | 89 ('mac10.11', 'x86'), |
| 90 ('mac10.12', 'x86'), |
| 90 ('win7', 'x86'), | 91 ('win7', 'x86'), |
| 91 ('win10', 'x86'), | 92 ('win10', 'x86'), |
| 92 ('trusty', 'x86_64'), | 93 ('trusty', 'x86_64'), |
| 93 | 94 |
| 94 # FIXME: Technically this should be 'arm', but adding a third | 95 # FIXME: Technically this should be 'arm', but adding a third |
| 95 # architecture type breaks TestConfigurationConverter. | 96 # architecture type breaks TestConfigurationConverter. |
| 96 # If we need this to be 'arm' in the future, then we first have to | 97 # If we need this to be 'arm' in the future, then we first have to |
| 97 # fix TestConfigurationConverter. | 98 # fix TestConfigurationConverter. |
| 98 ('icecreamsandwich', 'x86'), | 99 ('icecreamsandwich', 'x86'), |
| 99 ) | 100 ) |
| 100 | 101 |
| 101 CONFIGURATION_SPECIFIER_MACROS = { | 102 CONFIGURATION_SPECIFIER_MACROS = { |
| 102 'mac': ['retina', 'mac10.9', 'mac10.10', 'mac10.11'], | 103 'mac': ['retina', 'mac10.9', 'mac10.10', 'mac10.11', 'mac10.12'], |
| 103 'win': ['win7', 'win10'], | 104 'win': ['win7', 'win10'], |
| 104 'linux': ['trusty'], | 105 'linux': ['trusty'], |
| 105 'android': ['icecreamsandwich'], | 106 'android': ['icecreamsandwich'], |
| 106 } | 107 } |
| 107 | 108 |
| 108 DEFAULT_BUILD_DIRECTORIES = ('out',) | 109 DEFAULT_BUILD_DIRECTORIES = ('out',) |
| 109 | 110 |
| 110 FALLBACK_PATHS = {} | 111 FALLBACK_PATHS = {} |
| 111 | 112 |
| 112 SUPPORTED_VERSIONS = [] | 113 SUPPORTED_VERSIONS = [] |
| (...skipping 1521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1634 | 1635 |
| 1635 def __init__(self, base, args, reference_args=None): | 1636 def __init__(self, base, args, reference_args=None): |
| 1636 self.name = base | 1637 self.name = base |
| 1637 self.base = base | 1638 self.base = base |
| 1638 self.args = args | 1639 self.args = args |
| 1639 self.reference_args = args if reference_args is None else reference_args | 1640 self.reference_args = args if reference_args is None else reference_args |
| 1640 self.tests = set() | 1641 self.tests = set() |
| 1641 | 1642 |
| 1642 def __repr__(self): | 1643 def __repr__(self): |
| 1643 return "PhysicalTestSuite('%s', '%s', %s, %s)" % (self.name, self.base,
self.args, self.reference_args) | 1644 return "PhysicalTestSuite('%s', '%s', %s, %s)" % (self.name, self.base,
self.args, self.reference_args) |
| OLD | NEW |