test: Begin running the language ref examples. Mostly xfailed

This commit is contained in:
Brian Anderson 2012-03-20 16:49:12 -07:00
parent a0cbf638ee
commit 57281f52e5
4 changed files with 99 additions and 62 deletions

View file

@ -34,6 +34,12 @@ while cur < len(lines):
tags = re.findall("\.([\w-]*)", line)
block = ""
ignore = "notrust" in tags or "ignore" in tags
# Some tags used by the language ref that indicate not rust
ignore |= "ebnf" in tags
ignore |= "abnf" in tags
ignore |= "keyword" in tags
ignore |= "field" in tags
ignore |= "precedence" in tags
xfail = "xfail-test" in tags
while cur < len(lines):
line = lines[cur]