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

pedronis at codespeak.net pedronis at codespeak.net
Wed Nov 18 12:24:10 CET 2009


Author: pedronis
Date: Wed Nov 18 12:24:09 2009
New Revision: 69372

Modified:
   pypy/build/bot2/pypybuildbot/master.py
   pypy/build/bot2/pypybuildbot/summary.py
Log:
experiment to avoid the benchmarks run to be marked as failed, sort them differently too

Modified: pypy/build/bot2/pypybuildbot/master.py
==============================================================================
--- pypy/build/bot2/pypybuildbot/master.py	(original)
+++ pypy/build/bot2/pypybuildbot/master.py	Wed Nov 18 12:24:09 2009
@@ -37,7 +37,9 @@
 status.putChild('summary', summary.Summary(['own', 'applevel',
                                             'lib-python', 'jit',
                                             'stackless',
-                                            'windows', 'mac', 'maemo', 'other']))
+                                            'windows', 'mac',
+                                            'benchmark-run',
+                                            'maemo', 'other']))
 
 
 pypybuilds = load('pypybuildbot.builds')
@@ -159,7 +161,7 @@
                    "slavenames": ["bigdogvm2"],
                    "builddir": JITBENCH,
                    "factory": pypyJITBenchmarkFactory,
-                   "category": 'benchmark',
+                   "category": 'benchmark-run',
                   },
                 ],
 

Modified: pypy/build/bot2/pypybuildbot/summary.py
==============================================================================
--- pypy/build/bot2/pypybuildbot/summary.py	(original)
+++ pypy/build/bot2/pypybuildbot/summary.py	Wed Nov 18 12:24:09 2009
@@ -145,6 +145,9 @@
                     'times': build.getTimes()}
         outcome_set = RevisionOutcomeSet(rev, key, run_info)
         someresult = False
+        # "*-run" categories mean the build is not a test build!
+        if builderStatus.category:
+            someresult = builderStatus.category.endswith("-run")
         if pytest_logs:
             for stepName, resultLog in pytest_logs:
                 if resultLog.hasContents():



More information about the Pypy-commit mailing list