Skip to content

Commit 12ab651

Browse files
committed
Make combine-tests ignore temp files
1 parent 021bfb4 commit 12ab651

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/etc/combine-tests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ def scrub(b):
2222
take_args = {}
2323

2424
for t in os.listdir(run_pass):
25-
if t.endswith(".rs"):
25+
if t.endswith(".rs") and not (
26+
t.startswith(".") or t.startswith("#") or t.startswith("~")):
2627
f = codecs.open(os.path.join(run_pass, t), "r", "utf8")
2728
s = f.read()
2829
if not ("xfail-stage2" in s or

0 commit comments

Comments
 (0)