summaryrefslogtreecommitdiff
path: root/test/import.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2011-03-24 22:36:03 +0000
committerWilliam Deegan <bill@baddogconsulting.com>2011-03-24 22:36:03 +0000
commitfef50562328b1fb32197404be1bffe522a415d4f (patch)
tree8509d54f641dd0e24cbb4a34d67fdf11dd00b7d6 /test/import.py
parent21ef3fc013b863d7d2451a8d8153eb76905b1927 (diff)
downloadscons-fef50562328b1fb32197404be1bffe522a415d4f.tar.gz
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 ff15e16c..5bb4fcd6 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])