OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 from buildbot.process.properties import Properties |
| 6 |
| 7 |
| 8 def parse_decoration(properties, decoration): |
| 9 """ |
| 10 Returns properties extended by the meaning of decoration. |
| 11 """ |
| 12 |
| 13 props = Properties() |
| 14 props.updateFromProperties(properties) |
| 15 if decoration == 'compile': |
| 16 props.setProperty('testfilter', 'None', 'Decoration') |
| 17 |
| 18 #TODO(petermayo) Define a DSL of useful modifications to individual |
| 19 # bots of a test run. |
| 20 return props |
OLD | NEW |