[pypy-svn] r18450 - pypy/dist/pypy/translator/goal
tismer at codespeak.net
tismer at codespeak.net
Wed Oct 12 11:57:38 CEST 2005
Author: tismer
Date: Wed Oct 12 11:57:37 2005
New Revision: 18450
Added:
pypy/dist/pypy/translator/goal/targetrpystonedalone.py (contents, props changed)
Log:
added rpystone as a stand-alone target.
Todo: make it parameterized, maybe add richards for benchmakrs?
Added: pypy/dist/pypy/translator/goal/targetrpystonedalone.py
==============================================================================
--- (empty file)
+++ pypy/dist/pypy/translator/goal/targetrpystonedalone.py Wed Oct 12 11:57:37 2005
@@ -0,0 +1,14 @@
+import os, sys
+from pypy.translator.test import rpystone
+
+# __________ Entry point __________
+
+def entry_point(argv):
+ count = rpystone.pystones(20000000)
+ return count
+
+# _____ Define and setup target ___
+
+def target(*args):
+ return entry_point, None
+
More information about the Pypy-commit
mailing list