fix pytest issue41: re-run tests on all file changes, not just

randomly select ones like .py/.c.
This commit is contained in:
holger krekel
2013-09-05 14:21:43 +02:00
parent 013b2fc6bb
commit f144ef88e3
4 changed files with 8 additions and 5 deletions

View File

@@ -188,7 +188,7 @@ class StatRecorder:
self.check() # snapshot state
def fil(self, p):
return p.ext in ('.py', '.txt', '.c', '.h')
return True # we are sensitive to all file changes since 1.9
def rec(self, p):
return p.check(dotfile=0)