Home | History | Annotate | Download | only in local

Lines Matching refs:rule

149 def _ParseOutcomeList(rule, outcomes, target_dict, variables):
173 if rule in target_dict:
174 # A FAIL without PASS in one rule has always precedence over a single
176 # in a rule with a modifier (e.g. PASS, SLOW) would be joined to a FAIL
177 # from another rule (which intended to mark a test as FAIL and not as
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),
266 "Suite name prefix must not be used in rule keys")
267 _assert(not rule.endswith('.js'),
268 ".js extension must not be used in rule keys.")
269 if basename in JS_TEST_PATHS and '*' not in rule:
271 *(paths + [rule + ".js"])))
273 "missing file for %s test %s" % (basename, rule))