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

Unified Diff: scripts/master/try_job_decoration.py

Issue 8847005: Add decorations to bot names for modifying parts of try sets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build/
Patch Set: '' Created 9 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 side-by-side diff with in-line comments
Download patch
« scripts/master/try_job_base_bb8.py ('K') | « scripts/master/try_job_base_bb8.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/master/try_job_decoration.py
===================================================================
--- scripts/master/try_job_decoration.py (revision 0)
+++ scripts/master/try_job_decoration.py (revision 0)
@@ -0,0 +1,20 @@
+# Copyright (c) 2011 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+from buildbot.process.properties import Properties
+
+
+def parse_decoration(properties, decoration):
+ """
+ Returns properties extended by the meaning of decoration.
+ """
+
+ props = Properties()
+ props.updateFromProperties(properties)
Peter Mayo 2011/12/07 16:38:00 Should pull the props to be modified, and [ut them
Peter Mayo 2011/12/09 21:29:08 Done.
+ if decoration == 'compile':
+ props.setProperty('testfilter', 'None', 'Decoration')
+
+ #TODO(petermayo) Define a DSL of useful modifications to individual
+ # bots of a test run.
+ return props
Property changes on: scripts/master/try_job_decoration.py
___________________________________________________________________
Added: svn:eol-style
+ LF
« scripts/master/try_job_base_bb8.py ('K') | « scripts/master/try_job_base_bb8.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698