[py-svn] r13876 - py/dist/py/test/terminal

hpk at codespeak.net hpk at codespeak.net
Sat Jun 25 18:14:33 CEST 2005


Author: hpk
Date: Sat Jun 25 18:14:31 2005
New Revision: 13876

Modified:
   py/dist/py/test/terminal/remote.py
Log:
check for changing .c .py and .h files



Modified: py/dist/py/test/terminal/remote.py
==============================================================================
--- py/dist/py/test/terminal/remote.py	(original)
+++ py/dist/py/test/terminal/remote.py	Sat Jun 25 18:14:31 2005
@@ -5,7 +5,9 @@
 
 def checkpyfilechange(rootdir, statcache={}):
     """ wait until project files are changed. """
-    fil = py.path.checker(fnmatch='*.py')
+    def fil(p): 
+        return p.ext in ('.py', '.c', '.h')
+    #fil = py.path.checker(fnmatch='*.py')
     rec = py.path.checker(dotfile=0)
     changed = False
     for path in rootdir.visit(fil, rec):



More information about the pytest-commit mailing list