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

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

Issue 10641005: Use ui_unittests instead of gfx_unittests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build/
Patch Set: Created 8 years, 6 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
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 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 if (self._target == 'Release' and 517 if (self._target == 'Release' and
518 not factory_properties.get('disable_mini_installer_test')): 518 not factory_properties.get('disable_mini_installer_test')):
519 self.AddBasicGTestTestStep('mini_installer_test', factory_properties, 519 self.AddBasicGTestTestStep('mini_installer_test', factory_properties,
520 arg_list=['-clean']) 520 arg_list=['-clean'])
521 521
522 def AddChromeUnitTests(self, factory_properties): 522 def AddChromeUnitTests(self, factory_properties):
523 self.AddBasicGTestTestStep('ipc_tests', factory_properties) 523 self.AddBasicGTestTestStep('ipc_tests', factory_properties)
524 self.AddBasicGTestTestStep('sync_unit_tests', factory_properties) 524 self.AddBasicGTestTestStep('sync_unit_tests', factory_properties)
525 self.AddBasicGTestTestStep('unit_tests', factory_properties) 525 self.AddBasicGTestTestStep('unit_tests', factory_properties)
526 self.AddBasicGTestTestStep('sql_unittests', factory_properties) 526 self.AddBasicGTestTestStep('sql_unittests', factory_properties)
527 self.AddBasicGTestTestStep('gfx_unittests', factory_properties) 527 self.AddBasicGTestTestStep('ui_unittests', factory_properties)
528 self.AddBasicGTestTestStep('content_unittests', factory_properties) 528 self.AddBasicGTestTestStep('content_unittests', factory_properties)
529 if self._target_platform == 'win32': 529 if self._target_platform == 'win32':
530 self.AddBasicGTestTestStep('views_unittests', factory_properties) 530 self.AddBasicGTestTestStep('views_unittests', factory_properties)
531 531
532 def AddSyncIntegrationTests(self, factory_properties): 532 def AddSyncIntegrationTests(self, factory_properties):
533 options = ['--ui-test-action-max-timeout=120000'] 533 options = ['--ui-test-action-max-timeout=120000']
534 534
535 self.AddBasicGTestTestStep('sync_integration_tests', factory_properties, '', 535 self.AddBasicGTestTestStep('sync_integration_tests', factory_properties, '',
536 options) 536 options)
537 537
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after
1165 # ArchiveCommand.createSummary. 1165 # ArchiveCommand.createSummary.
1166 return '%s/%s/%s' % (config.Master.archive_url, archive_type, builder_name) 1166 return '%s/%s/%s' % (config.Master.archive_url, archive_type, builder_name)
1167 1167
1168 def _GetSnapshotUrl(factory_properties=None, builder_name='%(build_name)s'): 1168 def _GetSnapshotUrl(factory_properties=None, builder_name='%(build_name)s'):
1169 if not factory_properties or 'gs_bucket' not in factory_properties: 1169 if not factory_properties or 'gs_bucket' not in factory_properties:
1170 return (_GetArchiveUrl('snapshots', builder_name), None) 1170 return (_GetArchiveUrl('snapshots', builder_name), None)
1171 gs_bucket = factory_properties['gs_bucket'] 1171 gs_bucket = factory_properties['gs_bucket']
1172 gs_bucket = re.sub(r'^gs://', 'http://commondatastorage.googleapis.com/', 1172 gs_bucket = re.sub(r'^gs://', 'http://commondatastorage.googleapis.com/',
1173 gs_bucket) 1173 gs_bucket)
1174 return ('%s/index.html?path=%s' % (gs_bucket, builder_name), '/') 1174 return ('%s/index.html?path=%s' % (gs_bucket, builder_name), '/')
OLDNEW
« masters/master.tryserver.chromium/master.cfg ('K') | « masters/master.tryserver.chromium/master.cfg ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698