Changeset 51753 in webkit


Ignore:
Timestamp:
Dec 6, 2009 11:45:07 PM (14 years ago)
Author:
eric@webkit.org
Message:

2009-12-06 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

Add an API for uploading results files to StatusBot
https://bugs.webkit.org/show_bug.cgi?id=32210

  • Scripts/modules/statusbot.py:
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r51752 r51753  
     12009-12-06  Eric Seidel  <eric@webkit.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        Add an API for uploading results files to StatusBot
     6        https://bugs.webkit.org/show_bug.cgi?id=32210
     7
     8        * Scripts/modules/statusbot.py:
     9
    1102009-12-06  Eric Seidel  <eric@webkit.org>
    211
  • trunk/WebKitTools/Scripts/modules/statusbot.py

    r51448 r51753  
    6161        self.statusbot_server_url = "http://%s" % self.statusbot_host
    6262
    63     def update_status(self, queue_name, status, patch=None):
     63    def update_status(self, queue_name, status, patch=None, results_file=None):
    6464        # During unit testing, statusbot_host is None
    6565        if not self.statusbot_host:
     
    7676                self.browser['patch_id'] = str(patch['id'])
    7777        self.browser['status'] = status
     78        if results_file:
     79            self.browser.add_file(results_file, "text/plain", "results.txt", 'results_file')
    7880        self.browser.submit()
    7981
Note: See TracChangeset for help on using the changeset viewer.