From 12ab65107a96207063814c392d64e18e718c0a45 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 28 Jul 2011 14:24:20 -0700 Subject: [PATCH] Make combine-tests ignore temp files --- src/etc/combine-tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/etc/combine-tests.py b/src/etc/combine-tests.py index d32fefe1d5c..db9229b3f68 100755 --- a/src/etc/combine-tests.py +++ b/src/etc/combine-tests.py @@ -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