summaryrefslogtreecommitdiffstats
path: root/test/import.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2011-03-24 22:36:03 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2011-03-24 22:36:03 (GMT)
commitc8789cd4b937d291138d0f28d7b1568fe0e3efa7 (patch)
tree8509d54f641dd0e24cbb4a34d67fdf11dd00b7d6 /test/import.py
parent1d89b2116cf0b8504fa0d77e2c19ce56b1b4a17a (diff)
downloadSCons-c8789cd4b937d291138d0f28d7b1568fe0e3efa7.zip
SCons-c8789cd4b937d291138d0f28d7b1568fe0e3efa7.tar.gz
SCons-c8789cd4b937d291138d0f28d7b1568fe0e3efa7.tar.bz2
Filter out more bogus files from import.py test. It was trying to use emacs and other junk files which were left in the source tree and failing
Diffstat (limited to 'test/import.py')
-rw-r--r--test/import.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/import.py b/test/import.py
index ff15e16..5bb4fcd 100644
--- a/test/import.py
+++ b/test/import.py
@@ -81,6 +81,9 @@ ignore = ('__init__.py',
tools = []
for name in os.listdir(tooldir):
if name in ignore: continue
+ if name[0] == '#': continue
+ if name[0:1] == '.': continue
+ if name[-1] == '~' : continue
if name[-3:] == '.py':
if name[-8:] not in ('Tests.py', 'ommon.py'):
tools.append(name[:-3])