| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 # FIXME: We treat Retina (High-DPI) devices as if they are running | 84 # FIXME: We treat Retina (High-DPI) devices as if they are running |
| 85 # a different operating system version. This isn't accurate, but will wo
rk until | 85 # a different operating system version. This isn't accurate, but will wo
rk until |
| 86 # we need to test and support baselines across multiple O/S versions. | 86 # we need to test and support baselines across multiple O/S versions. |
| 87 ('retina', 'x86'), | 87 ('retina', 'x86'), |
| 88 | 88 |
| 89 ('mac10.9', 'x86'), | 89 ('mac10.9', 'x86'), |
| 90 ('mac10.10', 'x86'), | 90 ('mac10.10', 'x86'), |
| 91 ('mac10.11', 'x86'), | 91 ('mac10.11', 'x86'), |
| 92 ('win7', 'x86'), | 92 ('win7', 'x86'), |
| 93 ('win10', 'x86'), | 93 ('win10', 'x86'), |
| 94 ('precise', 'x86_64'), | |
| 95 ('trusty', 'x86_64'), | 94 ('trusty', 'x86_64'), |
| 96 # FIXME: Technically this should be 'arm', but adding a third architectu
re type breaks TestConfigurationConverter. | 95 # FIXME: Technically this should be 'arm', but adding a third architectu
re type breaks TestConfigurationConverter. |
| 97 # If we need this to be 'arm' in the future, then we first have to fix T
estConfigurationConverter. | 96 # If we need this to be 'arm' in the future, then we first have to fix T
estConfigurationConverter. |
| 98 ('icecreamsandwich', 'x86'), | 97 ('icecreamsandwich', 'x86'), |
| 99 ) | 98 ) |
| 100 | 99 |
| 101 CONFIGURATION_SPECIFIER_MACROS = { | 100 CONFIGURATION_SPECIFIER_MACROS = { |
| 102 'mac': ['retina', 'mac10.9', 'mac10.10', 'mac10.11'], | 101 'mac': ['retina', 'mac10.9', 'mac10.10', 'mac10.11'], |
| 103 'win': ['win7', 'win10'], | 102 'win': ['win7', 'win10'], |
| 104 'linux': ['precise', 'trusty'], | 103 'linux': ['trusty'], |
| 105 'android': ['icecreamsandwich'], | 104 'android': ['icecreamsandwich'], |
| 106 } | 105 } |
| 107 | 106 |
| 108 DEFAULT_BUILD_DIRECTORIES = ('out',) | 107 DEFAULT_BUILD_DIRECTORIES = ('out',) |
| 109 | 108 |
| 110 # overridden in subclasses. | 109 # overridden in subclasses. |
| 111 FALLBACK_PATHS = {} | 110 FALLBACK_PATHS = {} |
| 112 | 111 |
| 113 SUPPORTED_VERSIONS = [] | 112 SUPPORTED_VERSIONS = [] |
| 114 | 113 |
| (...skipping 1680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1795 | 1794 |
| 1796 def __init__(self, base, args, reference_args=None): | 1795 def __init__(self, base, args, reference_args=None): |
| 1797 self.name = base | 1796 self.name = base |
| 1798 self.base = base | 1797 self.base = base |
| 1799 self.args = args | 1798 self.args = args |
| 1800 self.reference_args = args if reference_args is None else reference_args | 1799 self.reference_args = args if reference_args is None else reference_args |
| 1801 self.tests = set() | 1800 self.tests = set() |
| 1802 | 1801 |
| 1803 def __repr__(self): | 1802 def __repr__(self): |
| 1804 return "PhysicalTestSuite('%s', '%s', %s, %s)" % (self.name, self.base,
self.args, self.reference_args) | 1803 return "PhysicalTestSuite('%s', '%s', %s, %s)" % (self.name, self.base,
self.args, self.reference_args) |
| OLD | NEW |