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

Side by Side Diff: scripts/master/factory/chromium_commands.py

Issue 110373008: Remove Chrome Frame tests everywhere. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 7 years 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
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 """Set of utilities to add commands to a buildbot factory. 5 """Set of utilities to add commands to a buildbot factory.
6 6
7 This is based on commands.py and adds chromium-specific commands.""" 7 This is based on commands.py and adds chromium-specific commands."""
8 8
9 import logging 9 import logging
10 import os 10 import os
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 tool_opts=tool_options, 528 tool_opts=tool_options,
529 factory_properties=factory_properties) 529 factory_properties=factory_properties)
530 530
531 def AddIDBPerfTests(self, factory_properties, tool_options=None): 531 def AddIDBPerfTests(self, factory_properties, tool_options=None):
532 self.AddAnnotatedPerfStep('idb_perf', 'IndexedDBTest.Perf', 'graphing', 532 self.AddAnnotatedPerfStep('idb_perf', 'IndexedDBTest.Perf', 'graphing',
533 step_name='idb_perf', 533 step_name='idb_perf',
534 cmd_options=['--gtest_print_time'], 534 cmd_options=['--gtest_print_time'],
535 factory_properties=factory_properties, 535 factory_properties=factory_properties,
536 tool_opts=tool_options) 536 tool_opts=tool_options)
537 537
538 def AddChromeFramePerfTests(self, factory_properties):
539 self.AddAnnotatedPerfStep('chrome_frame_perf', None, 'graphing',
540 cmd_name='chrome_frame_perftests',
541 step_name='chrome_frame_perf',
542 factory_properties=factory_properties)
543
544 def AddDeps2GitStep(self, verify=True): 538 def AddDeps2GitStep(self, verify=True):
545 J = self.PathJoin 539 J = self.PathJoin
546 deps2git_tool = J(self._repository_root, 'tools', 'deps2git', 'deps2git.py') 540 deps2git_tool = J(self._repository_root, 'tools', 'deps2git', 'deps2git.py')
547 cmd = [self._python, deps2git_tool, 541 cmd = [self._python, deps2git_tool,
548 '-d', J(self._repository_root, 'DEPS'), 542 '-d', J(self._repository_root, 'DEPS'),
549 '-o', J(self._repository_root, '.DEPS.git')] 543 '-o', J(self._repository_root, '.DEPS.git')]
550 if verify: 544 if verify:
551 cmd.append('--verify') 545 cmd.append('--verify')
552 self.AddTestStep( 546 self.AddTestStep(
553 shell.ShellCommand, 547 shell.ShellCommand,
(...skipping 1035 matching lines...) Expand 10 before | Expand all | Expand 10 after
1589 return '%s/%s/%s' % (config.Master.archive_url, archive_type, builder_name) 1583 return '%s/%s/%s' % (config.Master.archive_url, archive_type, builder_name)
1590 1584
1591 1585
1592 def _GetSnapshotUrl(factory_properties=None, builder_name='%(build_name)s'): 1586 def _GetSnapshotUrl(factory_properties=None, builder_name='%(build_name)s'):
1593 if not factory_properties or 'gs_bucket' not in factory_properties: 1587 if not factory_properties or 'gs_bucket' not in factory_properties:
1594 return (_GetArchiveUrl('snapshots', builder_name), None) 1588 return (_GetArchiveUrl('snapshots', builder_name), None)
1595 gs_bucket = factory_properties['gs_bucket'] 1589 gs_bucket = factory_properties['gs_bucket']
1596 gs_bucket = re.sub(r'^gs://', 'http://commondatastorage.googleapis.com/', 1590 gs_bucket = re.sub(r'^gs://', 'http://commondatastorage.googleapis.com/',
1597 gs_bucket) 1591 gs_bucket)
1598 return ('%s/index.html?path=%s' % (gs_bucket, builder_name), '/') 1592 return ('%s/index.html?path=%s' % (gs_bucket, builder_name), '/')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698