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

pedronis at codespeak.net pedronis at codespeak.net
Mon Oct 19 17:05:05 CEST 2009


Author: pedronis
Date: Mon Oct 19 17:05:04 2009
New Revision: 68637

Modified:
   pypy/build/bot2/pypybuildbot/builds.py
   pypy/build/bot2/pypybuildbot/master.py
Log:
(cfbolz, pedronis) tentative for running the test_pypy_c.py jit tests



Modified: pypy/build/bot2/pypybuildbot/builds.py
==============================================================================
--- pypy/build/bot2/pypybuildbot/builds.py	(original)
+++ pypy/build/bot2/pypybuildbot/builds.py	Mon Oct 19 17:05:04 2009
@@ -195,7 +195,7 @@
             description="copy build",
             command=["scp", "pypy-c", "fijal at codespeak.net:builds/pypy-c-scratchbox"], workdir = workdir))
 
-class PyPyJITTranslatedLibPythonTestFactory(factory.BuildFactory):
+class PyPyJITTranslatedTestFactory(factory.BuildFactory):
     def __init__(self, *a, **kw):
         platform = kw.pop('platform', 'linux')
         factory.BuildFactory.__init__(self, *a, **kw)
@@ -214,6 +214,14 @@
                      "--resultlog=cpython.log", "lib-python"],
             logfiles={'pytestLog': 'cpython.log'}))
 
+        self.addStep(ShellCmd(
+            description="pypyjit tests",
+            command=["python", "pypy/test_all.py",
+                     "--pypy=pypy/translator/goal/pypy-c",
+                     "--resultlog=pypyjit.log",
+                     "pypy/module/pypyjit/test/test_pypy_c.py"],
+            logfiles={'pytestLog': 'pypyjit.log'}))
+
 class PyPyJITBenchmarkFactory(factory.BuildFactory):
     def __init__(self, *a, **kw):
         platform = kw.pop('platform', 'linux')

Modified: pypy/build/bot2/pypybuildbot/master.py
==============================================================================
--- pypy/build/bot2/pypybuildbot/master.py	(original)
+++ pypy/build/bot2/pypybuildbot/master.py	Mon Oct 19 17:05:04 2009
@@ -53,7 +53,7 @@
 pypyTranslatedAppLevelTestFactory = pypybuilds.PyPyTranslatedAppLevelTestFactory()
 
 pypyStacklessTranslatedAppLevelTestFactory = pypybuilds.PyPyStacklessTranslatedAppLevelTestFactory()
-pypyJITTranslatedTestFactory = pypybuilds.PyPyJITTranslatedLibPythonTestFactory()
+pypyJITTranslatedTestFactory = pypybuilds.PyPyJITTranslatedTestFactory()
 pypyJITBenchmarkFactory = pypybuilds.PyPyJITBenchmarkFactory()
 
 LINUX32 = "own-linux-x86-32"
@@ -138,7 +138,7 @@
                    "slavenames": ["bigdogvm1"],
                    'builddir' : JITCPYLINUX32,
                    'factory' : pypyJITTranslatedTestFactory,
-                   'category' : 'lib-python',
+                   'category' : 'jit',
                    },
                   {"name": JITONLYLINUX32,
                    "slavenames": ["wyvern"],



More information about the Pypy-commit mailing list