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

Unified Diff: buildbot/scripts/master/try_job_base.py

Issue 1733026: Support --gtest_filter for try jobs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/
Patch Set: '' Created 10 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: buildbot/scripts/master/try_job_base.py
===================================================================
--- buildbot/scripts/master/try_job_base.py (revision 46112)
+++ buildbot/scripts/master/try_job_base.py (working copy)
@@ -50,7 +50,8 @@
branch = options.get('branch', None)
revision = options.get('revision', None)
buildset_id = options.get('reason', '%s: %s' % (user, job_name))
- tests = [item for item in options.get('tests', '').split(',') if item]
+ testfilters = [item for item in options.get('testfilter', '').split(',')
+ if item]
project = options.get('project', self.pools.default_pool_name)
# Code review infos. Enforce numbers.
@@ -92,8 +93,8 @@
props.updateFromProperties(self.properties)
if clobber:
props.setProperty('clobber', True, 'Scheduler')
- if tests:
- props.setProperty('tests', tests, 'Scheduler')
+ if testfilters:
+ props.setProperty('testfilters', testfilters, 'Scheduler')
return builder_names, jobstamp, buildset_id, props
def SubmitJob(self, options):

Powered by Google App Engine
This is Rietveld 408576698