Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(355)

Side by Side Diff: scripts/slave/recipe_modules/v8/api.py

Issue 1143963005: Fixing download step for simd.js perf. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/v8/example.expected/forced_build.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 import collections 5 import collections
6 import datetime 6 import datetime
7 import math 7 import math
8 import re 8 import re
9 9
10 from infra.libs.infra_types import freeze 10 from infra.libs.infra_types import freeze
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after
828 if extra_flags: 828 if extra_flags:
829 full_args.append('--extra-flags="%s"' % ' '.join(extra_flags)) 829 full_args.append('--extra-flags="%s"' % ' '.join(extra_flags))
830 830
831 step_test_data = lambda: self.test_api.perf_json( 831 step_test_data = lambda: self.test_api.perf_json(
832 self._test_data.get('perf_failures', False)) 832 self._test_data.get('perf_failures', False))
833 833
834 try: 834 try:
835 if download_test is not None: 835 if download_test is not None:
836 self.m.python( 836 self.m.python(
837 '%s%s - download-data' % (name, suffix), 837 '%s%s - download-data' % (name, suffix),
838 self.m.path['checkout'].join('tools', 'run-test.py'), 838 self.m.path['checkout'].join('tools', 'run-tests.py'),
839 ['--download-data-only', download_test], 839 ['--download-data-only', download_test],
840 cwd=self.m.path['checkout'], 840 cwd=self.m.path['checkout'],
841 step_test_data=step_test_data, 841 step_test_data=step_test_data,
842 ) 842 )
843 self.m.python( 843 self.m.python(
844 '%s%s' % (name, suffix), 844 '%s%s' % (name, suffix),
845 self.m.path['checkout'].join('tools', 'run_perf.py'), 845 self.m.path['checkout'].join('tools', 'run_perf.py'),
846 full_args, 846 full_args,
847 cwd=self.m.path['checkout'], 847 cwd=self.m.path['checkout'],
848 step_test_data=step_test_data, 848 step_test_data=step_test_data,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
904 properties = { 904 properties = {
905 'revision': self.revision, 905 'revision': self.revision,
906 'parent_got_revision': self.revision, 906 'parent_got_revision': self.revision,
907 'parent_got_revision_cp': self.revision_cp, 907 'parent_got_revision_cp': self.revision_cp,
908 } 908 }
909 properties.update(**additional_properties) 909 properties.update(**additional_properties)
910 self.m.trigger(*[{ 910 self.m.trigger(*[{
911 'builder_name': builder_name, 911 'builder_name': builder_name,
912 'properties': properties, 912 'properties': properties,
913 } for builder_name in triggers]) 913 } for builder_name in triggers])
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/v8/example.expected/forced_build.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698