Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r827:023a2b6ef5b8
Date: 2013-06-24 10:52 +0200
http://bitbucket.org/pypy/buildbot/changeset/023a2b6ef5b8/

Log:    Kill this anti-feature of checking if the category name ends with
        "-run".

diff --git a/bot2/pypybuildbot/summary.py b/bot2/pypybuildbot/summary.py
--- a/bot2/pypybuildbot/summary.py
+++ b/bot2/pypybuildbot/summary.py
@@ -179,14 +179,14 @@
         run_info = {'URL': run_url, 'elapsed': pytest_elapsed or None,
                     '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")
+        #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():
-                    someresult = True
+                    #someresult = True
                     outcome_set.populate(resultLog)
 
         failedtests = not not outcome_set.failed
@@ -201,11 +201,12 @@
                 failure = text
                 break
 
-        if not someresult or failure is not None:
-            if failure:
-                name = '"%s"' % failure # quote
-            else:
-                name = '<run>'
+        #if not someresult or failure is not None:
+        if failure is not None:
+            #if failure:
+            name = '"%s"' % failure # quote
+            #else:
+            #    name = '<run>'
             outcome_set.populate_one(name, '!')
 
         return outcome_set
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to