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

pedronis at codespeak.net pedronis at codespeak.net
Fri Jan 9 15:07:28 CET 2009


Author: pedronis
Date: Fri Jan  9 15:07:27 2009
New Revision: 60860

Modified:
   pypy/build/bot2/pypybuildbot/builds.py
   pypy/build/bot2/pypybuildbot/master.py
Log:
(bea, pedronis)

attempt at a py.test -A stackless builder, not scheduled nightly for now



Modified: pypy/build/bot2/pypybuildbot/builds.py
==============================================================================
--- pypy/build/bot2/pypybuildbot/builds.py	(original)
+++ pypy/build/bot2/pypybuildbot/builds.py	Fri Jan  9 15:07:27 2009
@@ -144,6 +144,29 @@
             timeout = 4000,
             env={"PYTHONPATH": ['.']}))
 
+
+class PyPyStacklessTranslatedAppLevelTestFactory(factory.BuildFactory):
+
+    def __init__(self, *a, **kw):
+        platform = kw.pop('platform', 'linux')
+        factory.BuildFactory.__init__(self, *a, **kw)
+
+        setup_steps(platform, self)
+
+        self.addStep(Translate(["-O2", "--stackless"], []))
+
+        self.addStep(ShellCmd(
+            description="app-level (-A) test",
+            command=["python", "testrunner/runner.py",
+                     "--logfile=pytest-A.log",
+                     "--config=pypy/pytest-A.cfg",
+                     "--config=pypy/pytest-A-stackless.cfg",                     
+                     "--root=pypy", "--timeout=1800"],
+            logfiles={'pytestLog': 'pytest-A.log'},
+            timeout = 4000,
+            env={"PYTHONPATH": ['.']}))
+
+
 class PyPyTranslatedScratchboxTestFactory(factory.BuildFactory):
     def __init__(self, *a, **kw):
         USERNAME = 'buildbot'

Modified: pypy/build/bot2/pypybuildbot/master.py
==============================================================================
--- pypy/build/bot2/pypybuildbot/master.py	(original)
+++ pypy/build/bot2/pypybuildbot/master.py	Fri Jan  9 15:07:27 2009
@@ -31,12 +31,15 @@
 
 pypyTranslatedAppLevelTestFactory = pypybuilds.PyPyTranslatedAppLevelTestFactory()
 
+pypyStacklessTranslatedAppLevelTestFactory = pypybuilds.PyPyStacklessTranslatedAppLevelTestFactory()
+
 LINUX32 = "own-linux-x86-32"
 CPYLINUX32 = "pypy-c-lib-python-linux-x86-32"
 CPYWIN32 = "pypy-c-lib-python-win-32"
 CPYLINUX32_VM = 'pypy-c-lib-python-linux-x86-32vm'
 CPYMAEMO = "pypy-c-lib-python-maemo"
 APPLVLLINUX32 = "pypy-c-app-level-linux-x86-32"
+STACKLESSAPPLVLLINUX32 = "pypy-c-stackless-app-level-linux-x86-32"
 CPYFREEBSD64 = 'pypy-c-lib-python-freebsd-7-x86-64'
 
 BuildmasterConfig = {
@@ -68,7 +71,12 @@
                    "slavenames": ["wyvern", "cobra"],
                    "builddir": APPLVLLINUX32,
                    "factory": pypyTranslatedAppLevelTestFactory
-                  },                  
+                  },
+                  {"name": STACKLESSAPPLVLLINUX32,
+                   "slavenames": ["wyvern", "cobra"],
+                   "builddir": STACKLESSAPPLVLLINUX32,
+                   "factory": pypyStacklessTranslatedAppLevelTestFactory
+                  },                                    
                   {"name" : CPYLINUX32_VM,
                    "slavenames": ['bigdogvm1'],
                    "builddir": CPYLINUX32_VM,



More information about the Pypy-commit mailing list