[pypy-commit] buildbot default: make sure to save 32 and 64 bit results with different names

antocuni noreply at buildbot.pypy.org
Wed Jul 20 14:17:06 CEST 2011


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: 
Changeset: r535:1176d49f7533
Date: 2011-07-20 14:17 +0200
http://bitbucket.org/pypy/buildbot/changeset/1176d49f7533/

Log:	make sure to save 32 and 64 bit results with different names

diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py
--- a/bot2/pypybuildbot/builds.py
+++ b/bot2/pypybuildbot/builds.py
@@ -304,7 +304,8 @@
             workdir='./benchmarks',
             haltOnFailure=True))
         # a bit obscure hack to get both os.path.expand and a property
-        resfile = os.path.expanduser("~/bench_results/%(got_revision)s.json")
+        filename = '%(got_revision)s' + (postfix or '')
+        resfile = os.path.expanduser("~/bench_results/%s.json" % filename)
         self.addStep(transfer.FileUpload(slavesrc="benchmarks/result.json",
                                          masterdest=WithProperties(resfile),
                                          workdir="."))


More information about the pypy-commit mailing list