[pypy-commit] buildbot win32-cleanup: allow shell 9 step to run on windows

mattip noreply at buildbot.pypy.org
Fri Apr 27 00:23:05 CEST 2012


Author: Matti Picus <matti.picus at gmail.com>
Branch: win32-cleanup
Changeset: r638:789283b42c44
Date: 2012-04-27 01:18 +0300
http://bitbucket.org/pypy/buildbot/changeset/789283b42c44/

Log:	allow shell 9 step to run on windows

diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py
--- a/bot2/pypybuildbot/builds.py
+++ b/bot2/pypybuildbot/builds.py
@@ -314,9 +314,13 @@
                 logfiles={'pytestLog': 'pypyjit.log'}))
             #
             # "new" test_pypy_c
+            if platform == 'windows':
+                cmd = r'pypy\translator\goal\pypy-c'
+            else:
+                cmd = 'pypy/translator/goal/pypy-c'
             self.addStep(PytestCmd(
                 description="pypyjit tests",
-                command=["pypy/translator/goal/pypy-c", "pypy/test_all.py",
+                command=[cmd, "pypy/test_all.py",
                          "--resultlog=pypyjit_new.log",
                          "pypy/module/pypyjit/test_pypy_c"],
                 logfiles={'pytestLog': 'pypyjit_new.log'}))


More information about the pypy-commit mailing list