[pypy-svn] r70641 - pypy/build/bot2/pypybuildbot

fijal at codespeak.net fijal at codespeak.net
Sat Jan 16 22:30:50 CET 2010


Author: fijal
Date: Sat Jan 16 22:30:49 2010
New Revision: 70641

Modified:
   pypy/build/bot2/pypybuildbot/builds.py
Log:
Add a revision number as argument to runner, turn on a cheat for testing


Modified: pypy/build/bot2/pypybuildbot/builds.py
==============================================================================
--- pypy/build/bot2/pypybuildbot/builds.py	(original)
+++ pypy/build/bot2/pypybuildbot/builds.py	Sat Jan 16 22:30:49 2010
@@ -60,9 +60,9 @@
         kw['targetArgs'] = targetArgs
         kw['timeout'] = 3600
         ShellCmd.__init__(self, workdir, *a, **kw)
-        self.command = (self.command + translationArgs +
-                        [self.translationTarget] + targetArgs)
-        #self.command = ['cp', '/tmp/pypy-c', '.']
+        #self.command = (self.command + translationArgs +
+        #                [self.translationTarget] + targetArgs)
+        self.command = ['cp', '/tmp/pypy-c', '.']
 
 # ________________________________________________________________
 
@@ -168,7 +168,8 @@
         self.addStep(ShellCmd(
             description="run more benchmarks",
             command=["python", "runner.py", 'result.json',
-                    '../build/pypy/translator/goal/pypy-c'],
+                    '../build/pypy/translator/goal/pypy-c',
+                     WithProperties('%(got_revision)s')],
             workdir='./benchmarks',
             haltOnFailure=True))
         # a bit obscure hack to get both os.path.expand and a property



More information about the Pypy-commit mailing list