Make combine-tests ignore temp files
This commit is contained in:
parent
021bfb4b9b
commit
12ab65107a
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue