Lines Matching refs:rule
149 def _ParseOutcomeList(rule, outcomes, target_dict, variables): argument
173 if rule in target_dict:
179 if _JoinsPassAndFail(target_dict[rule], result):
180 target_dict[rule] -= set([PASS])
181 if _JoinsPassAndFail(result, target_dict[rule]):
183 target_dict[rule] |= result
185 target_dict[rule] = result
228 for rule in section:
229 assert type(rule) == str
230 if rule[-1] == '*':
231 _ParseOutcomeList(rule, section[rule], wildcards, variables)
233 _ParseOutcomeList(rule, section[rule], rules, variables)
263 for rule in section:
264 _assert(type(rule) == str, "Rule key must be a string")
265 _assert(not rule.startswith(root_prefix),
267 _assert(not rule.endswith('.js'),
269 if basename in JS_TEST_PATHS and '*' not in rule:
271 *(paths + [rule + ".js"])))
273 "missing file for %s test %s" % (basename, rule))