Changeset 69951 in webkit


Ignore:
Timestamp:
Oct 18, 2010 4:42:26 AM (14 years ago)
Author:
abarth@webkit.org
Message:

2010-10-18 Adam Barth <abarth@webkit.org>

Reviewed by David Levin.

commit-queue's flaky test notice is very Pythony
https://bugs.webkit.org/show_bug.cgi?id=47790

This patch make the list of tests delimted by \n instead of just
converting the array to a string.

  • Scripts/webkitpy/tool/commands/queues.py:
  • Scripts/webkitpy/tool/commands/queues_unittest.py:
Location:
trunk/WebKitTools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r69919 r69951  
     12010-10-18  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by David Levin.
     4
     5        commit-queue's flaky test notice is very Pythony
     6        https://bugs.webkit.org/show_bug.cgi?id=47790
     7
     8        This patch make the list of tests delimted by \n instead of just
     9        converting the array to a string.
     10
     11        * Scripts/webkitpy/tool/commands/queues.py:
     12        * Scripts/webkitpy/tool/commands/queues_unittest.py:
     13
    1142010-10-14  Antonio Gomes  <agomes@rim.com>
    215
  • trunk/WebKitTools/Scripts/webkitpy/tool/commands/queues.py

    r69832 r69951  
    291291
    292292    def report_flaky_tests(self, patch, flaky_tests):
    293         message = "The %s encountered the following flaky tests while processing attachment %s:\n\n%s\n\nPlease file bugs against the tests.  The commit-queue is continuing to process your patch." % (self.name, patch.id(), flaky_tests)
     293        message = "The %s encountered the following flaky tests while processing attachment %s:\n\n%s\n\nPlease file bugs against the tests.  The commit-queue is continuing to process your patch." % (self.name, patch.id(), "\n".join(flaky_tests))
    294294        self._tool.bugs.post_comment_to_bug(patch.bug_id(), message, cc=self.watchers)
    295295
  • trunk/WebKitTools/Scripts/webkitpy/tool/commands/queues_unittest.py

    r69832 r69951  
    329329The commit-queue encountered the following flaky tests while processing attachment 197:
    330330
    331 ['foo/bar.html', 'bar/baz.html']
     331foo/bar.html
     332bar/baz.html
    332333
    333334Please file bugs against the tests.  The commit-queue is continuing to process your patch.
Note: See TracChangeset for help on using the changeset viewer.