[pypy-svn] r41004 - pypy/dist/pypy

hpk at codespeak.net hpk at codespeak.net
Thu Mar 22 00:33:10 CET 2007


Author: hpk
Date: Thu Mar 22 00:33:09 2007
New Revision: 41004

Modified:
   pypy/dist/pypy/conftest.py
Log:
make the check for app_test's a bit less specific
(but i am not sure it's worth it at all)


Modified: pypy/dist/pypy/conftest.py
==============================================================================
--- pypy/dist/pypy/conftest.py	(original)
+++ pypy/dist/pypy/conftest.py	Thu Mar 22 00:33:09 2007
@@ -160,7 +160,7 @@
     def accept_regular_test(self):
         if option.runappdirect:
             # only collect regular tests if we are in an 'app_test' directory
-            return self.fspath.dirpath().basename == 'app_test'
+            return "app_test" in self.listnames()
         else:
             return True
 



More information about the Pypy-commit mailing list