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 |