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 1087 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1098 'XAUTHORITY', | 1098 'XAUTHORITY', |
1099 'HOME', | 1099 'HOME', |
1100 'LANG', | 1100 'LANG', |
1101 'LD_LIBRARY_PATH', | 1101 'LD_LIBRARY_PATH', |
1102 'DBUS_SESSION_BUS_ADDRESS', | 1102 'DBUS_SESSION_BUS_ADDRESS', |
1103 'XDG_DATA_DIRS', | 1103 'XDG_DATA_DIRS', |
1104 ] | 1104 ] |
1105 clean_env['DISPLAY'] = self._value_or_default_from_environ('DISPLAY'
, ':1') | 1105 clean_env['DISPLAY'] = self._value_or_default_from_environ('DISPLAY'
, ':1') |
1106 if self.host.platform.is_mac(): | 1106 if self.host.platform.is_mac(): |
1107 clean_env['DYLD_LIBRARY_PATH'] = self._build_path() | 1107 clean_env['DYLD_LIBRARY_PATH'] = self._build_path() |
1108 clean_env['DYLD_FRAMEWORK_PATH'] = self._build_path() | |
1109 variables_to_copy += [ | 1108 variables_to_copy += [ |
1110 'HOME', | 1109 'HOME', |
1111 ] | 1110 ] |
1112 if self.host.platform.is_win(): | 1111 if self.host.platform.is_win(): |
1113 variables_to_copy += [ | 1112 variables_to_copy += [ |
1114 'PATH', | 1113 'PATH', |
1115 'GYP_DEFINES', # Required to locate win sdk. | 1114 'GYP_DEFINES', # Required to locate win sdk. |
1116 ] | 1115 ] |
1117 if self.host.platform.is_cygwin(): | 1116 if self.host.platform.is_cygwin(): |
1118 variables_to_copy += [ | 1117 variables_to_copy += [ |
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1796 class PhysicalTestSuite(object): | 1795 class PhysicalTestSuite(object): |
1797 def __init__(self, base, args, reference_args=None): | 1796 def __init__(self, base, args, reference_args=None): |
1798 self.name = base | 1797 self.name = base |
1799 self.base = base | 1798 self.base = base |
1800 self.args = args | 1799 self.args = args |
1801 self.reference_args = args if reference_args is None else reference_args | 1800 self.reference_args = args if reference_args is None else reference_args |
1802 self.tests = set() | 1801 self.tests = set() |
1803 | 1802 |
1804 def __repr__(self): | 1803 def __repr__(self): |
1805 return "PhysicalTestSuite('%s', '%s', %s, %s)" % (self.name, self.base,
self.args, self.reference_args) | 1804 return "PhysicalTestSuite('%s', '%s', %s, %s)" % (self.name, self.base,
self.args, self.reference_args) |
OLD | NEW |