diff options
author | mmoss@chromium.org <mmoss@chromium.org@78cadc50-ecff-11dd-a971-7dbc132099af> | 2009-10-15 18:19:54 +0000 |
---|---|---|
committer | mmoss@chromium.org <mmoss@chromium.org@78cadc50-ecff-11dd-a971-7dbc132099af> | 2009-10-15 18:19:54 +0000 |
commit | c350386d9dcf1123573e46ae5f6e0d71264aa66b (patch) | |
tree | 5d1eb292d38ba81d53a80ac98570cbdcc1224ee4 /gyptest.py | |
parent | d27ec050ed1676c69bae71faaa2b675804a2ab73 (diff) | |
download | gyp-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.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |