[pypy-svn] r80062 - pypy/benchmarks

antocuni at codespeak.net antocuni at codespeak.net
Wed Dec 15 11:05:05 CET 2010


Author: antocuni
Date: Wed Dec 15 11:05:03 2010
New Revision: 80062

Modified:
   pypy/benchmarks/runner.py
Log:
don't require revision to be an int, so we can use e.g. "1234:aaabbbcccddd" for mercurial revisions.

I have tried with a local installation of codespeed, and things seems to work fine... we will see if it works also for real :-)



Modified: pypy/benchmarks/runner.py
==============================================================================
--- pypy/benchmarks/runner.py	(original)
+++ pypy/benchmarks/runner.py	Wed Dec 15 11:05:03 2010
@@ -71,7 +71,7 @@
                             ", ".join(BENCHMARK_SET)))
     parser.add_option('-p', '--pypy-c', default=sys.executable,
                       help='pypy-c or other modified python to run against')
-    parser.add_option('-r', '--revision', default=0, action="store", type=int,
+    parser.add_option('-r', '--revision', default=0, action="store",
                       help='specify revision of pypy-c')
     parser.add_option('-o', '--output-filename', default="result.json",
                       action="store",



More information about the Pypy-commit mailing list