[pypy-svn] r54609 - pypy/dist/pypy/translator/microbench

arigo at codespeak.net arigo at codespeak.net
Fri May 9 23:32:27 CEST 2008


Author: arigo
Date: Fri May  9 23:32:26 2008
New Revision: 54609

Modified:
   pypy/dist/pypy/translator/microbench/microbench.py
Log:
Let "-k" match on the tes file name too.


Modified: pypy/dist/pypy/translator/microbench/microbench.py
==============================================================================
--- pypy/dist/pypy/translator/microbench/microbench.py	(original)
+++ pypy/dist/pypy/translator/microbench/microbench.py	Fri May  9 23:32:26 2008
@@ -38,7 +38,7 @@
         for k in [s for s in testmoddict if s.startswith('test_')] :
             if test_cases:
                 for tc in test_cases:
-                    if k.startswith(tc):
+                    if k.startswith(tc) or microbench.startswith(tc):
                         break
                 else:
                     continue



More information about the Pypy-commit mailing list