OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 from slave import recipe_api | 5 from slave import recipe_api |
6 | 6 |
7 SIMPLE_TESTS_TO_RUN = [ | 7 SIMPLE_TESTS_TO_RUN = [ |
8 'content_gl_tests', | 8 'content_gl_tests', |
9 'gles2_conform_test', | 9 'gles2_conform_test', |
10 'gl_tests', | 10 'gl_tests', |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 # This is needed to make GOMA work properly on Mac. | 44 # This is needed to make GOMA work properly on Mac. |
45 if self.m.platform.is_mac: | 45 if self.m.platform.is_mac: |
46 self.m.chromium.set_config(self._configuration + '_clang', | 46 self.m.chromium.set_config(self._configuration + '_clang', |
47 GIT_MODE=self._use_git) | 47 GIT_MODE=self._use_git) |
48 self.m.gclient.apply_config('chrome_internal') | 48 self.m.gclient.apply_config('chrome_internal') |
49 | 49 |
50 # Use the default Ash and Aura settings on all bots (specifically Blink bots
). | 50 # Use the default Ash and Aura settings on all bots (specifically Blink bots
). |
51 self.m.chromium.c.gyp_env.GYP_DEFINES.pop('use_ash', None) | 51 self.m.chromium.c.gyp_env.GYP_DEFINES.pop('use_ash', None) |
52 self.m.chromium.c.gyp_env.GYP_DEFINES.pop('use_aura', None) | 52 self.m.chromium.c.gyp_env.GYP_DEFINES.pop('use_aura', None) |
53 | 53 |
| 54 # TODO(kbr): remove the workaround for http://crbug.com/328249 . |
| 55 self.m.chromium.c.gyp_env.GYP_DEFINES['disable_glibcxx_debug'] = 1 |
| 56 |
54 # Don't skip the frame_rate data, as it's needed for the frame rate tests. | 57 # Don't skip the frame_rate data, as it's needed for the frame rate tests. |
55 # Per iannucci@, it can be relied upon that solutions[1] is src-internal. | 58 # Per iannucci@, it can be relied upon that solutions[1] is src-internal. |
56 # Consider managing this in a 'gpu' config. | 59 # Consider managing this in a 'gpu' config. |
57 del self.m.gclient.c.solutions[1].custom_deps[ | 60 del self.m.gclient.c.solutions[1].custom_deps[ |
58 'src/chrome/test/data/perf/frame_rate/private'] | 61 'src/chrome/test/data/perf/frame_rate/private'] |
59 | 62 |
60 self.m.chromium.c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 | 63 self.m.chromium.c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 |
61 | 64 |
62 def checkout_steps(self): | 65 def checkout_steps(self): |
63 yield self.m.gclient.checkout() | 66 yield self.m.gclient.checkout() |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 platform_ext={'win': '.bat'}) | 220 platform_ext={'win': '.bat'}) |
218 | 221 |
219 args = ['--run-id', run_id, | 222 args = ['--run-id', run_id, |
220 '--generated-dir', generated_dir, | 223 '--generated-dir', generated_dir, |
221 '--gpu-reference-dir', reference_dir, | 224 '--gpu-reference-dir', reference_dir, |
222 '--gsutil', gsutil] | 225 '--gsutil', gsutil] |
223 return self.m.python(name, | 226 return self.m.python(name, |
224 self.m.path.build('scripts', 'slave', 'chromium', | 227 self.m.path.build('scripts', 'slave', 'chromium', |
225 'archive_gpu_pixel_test_results.py'), | 228 'archive_gpu_pixel_test_results.py'), |
226 args, always_run=True) | 229 args, always_run=True) |
OLD | NEW |