Make combine-tests ignore temp files

This commit is contained in:
Brian Anderson 2011-07-28 14:24:20 -07:00
parent 021bfb4b9b
commit 12ab65107a
1 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,8 @@ stage2_tests = []
take_args = {}
for t in os.listdir(run_pass):
if t.endswith(".rs"):
if t.endswith(".rs") and not (
t.startswith(".") or t.startswith("#") or t.startswith("~")):
f = codecs.open(os.path.join(run_pass, t), "r", "utf8")
s = f.read()
if not ("xfail-stage2" in s or