| 453 | class LeafTraceConfig(GraphConfig): |
| 454 | """Represents a leaf in the suite tree structure.""" |
| 455 | def __init__(self, suite, parent, arch): |
| 456 | super(LeafTraceConfig, self).__init__(suite, parent, arch) |
| 457 | assert self.results_regexp |
| 458 | if '%s' in self.results_regexp: |
| 459 | raise Exception( |
| 460 | "results_regexp at the wrong level. " |
| 461 | "Regexp should not contain '%%s': results_regexp='%s' name=%s" % |
| 462 | (self.results_regexp, self.name)) |
| 463 | |
| 464 | def AppendChild(self, node): |
| 465 | raise Exception("%s cannot have child configs." % type(self).__name__) |