summaryrefslogtreecommitdiff
path: root/gyptest.py
diff options
context:
space:
mode:
authormmoss@chromium.org <mmoss@chromium.org@78cadc50-ecff-11dd-a971-7dbc132099af>2009-10-15 18:19:54 +0000
committermmoss@chromium.org <mmoss@chromium.org@78cadc50-ecff-11dd-a971-7dbc132099af>2009-10-15 18:19:54 +0000
commitc350386d9dcf1123573e46ae5f6e0d71264aa66b (patch)
tree5d1eb292d38ba81d53a80ac98570cbdcc1224ee4 /gyptest.py
parentd27ec050ed1676c69bae71faaa2b675804a2ab73 (diff)
downloadgyp-c350386d9dcf1123573e46ae5f6e0d71264aa66b.tar.gz
Restrict tests to '.py' files.
This fixes a problem where the try bot was trying to run gyptest*.py.rej files from a bad patch. Review URL: http://codereview.chromium.org/267121 git-svn-id: http://gyp.googlecode.com/svn/trunk@701 78cadc50-ecff-11dd-a971-7dbc132099af
Diffstat (limited to 'gyptest.py')
-rw-r--r--gyptest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gyptest.py b/gyptest.py
index 6e6b41cd..a285fe1f 100644
--- a/gyptest.py
+++ b/gyptest.py
@@ -118,7 +118,7 @@ def find_all_gyptest_files(directory):
if '.svn' in dirs:
dirs.remove('.svn')
result.extend([ os.path.join(root, f) for f in files
- if f.startswith('gyptest') ])
+ if f.startswith('gyptest') and f.endswith('.py') ])
result.sort()
return result