Author: Maciej Fijalkowski <fij...@gmail.com>
Branch: 
Changeset: r547:2cf882b10d4b
Date: 2011-08-03 15:16 +0200
http://bitbucket.org/pypy/buildbot/changeset/2cf882b10d4b/

Log:    use python on win/os x

diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py
--- a/bot2/pypybuildbot/builds.py
+++ b/bot2/pypybuildbot/builds.py
@@ -56,19 +56,20 @@
     description = ["translating"]
     descriptionDone = ["translation"]
 
-    command = ["pypy", "translate.py", "--batch"]
+    command = ["translate.py", "--batch"]
     translationTarget = "targetpypystandalone"
     haltOnFailure = True
 
     def __init__(self, translationArgs, targetArgs,
                  workdir="build/pypy/translator/goal",
+                 interpreter='pypy',
                  *a, **kw):
         add_args = {'translationArgs': translationArgs,
                     'targetArgs': targetArgs}
         kw['timeout'] = 3600
         ShellCmd.__init__(self, workdir, *a, **kw)
         self.addFactoryArguments(**add_args)
-        self.command = (self.command + translationArgs +
+        self.command = ([interpreter] + self.command + translationArgs +
                         [self.translationTarget] + targetArgs)
         #self.command = ['cp', '/tmp/pypy-c', '.']
 
diff --git a/bot2/pypybuildbot/master.py b/bot2/pypybuildbot/master.py
--- a/bot2/pypybuildbot/master.py
+++ b/bot2/pypybuildbot/master.py
@@ -125,7 +125,8 @@
 pypyTranslatedAppLevelTestFactoryWin = pypybuilds.Translated(
     platform="win32",
     lib_python=True,
-    app_tests=True)
+    app_tests=True,
+    interpreter='python')
 
 jit_translation_args = ['-Ojit']
 
@@ -152,6 +153,7 @@
     lib_python=True,
     pypyjit=True,
     app_tests=True,
+    interpreter='python',
     )
 
 pypyJITTranslatedTestFactoryOSX64 = pypybuilds.Translated(
@@ -161,6 +163,7 @@
     lib_python=True,
     pypyjit=True,
     app_tests=True,
+    interpreter='python',
     )
 
 pypyJITTranslatedTestFactoryWin = pypybuilds.Translated(
@@ -170,6 +173,7 @@
     lib_python=True,
     pypyjit=True,
     app_tests=True,
+    interpreter='python',
     )
 
 pypy_OjitTranslatedTestFactory = pypybuilds.Translated(
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to