⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 249067 in webkit


Ignore:
Timestamp:
Aug 23, 2019, 2:06:02 PM (7 years ago)
Author:
aakash_jain@apple.com
Message:

Increase log level for watchlist result
https://bugs.webkit.org/show_bug.cgi?id=201081

Reviewed by Jonathan Bedard.

  • Scripts/webkitpy/tool/steps/applywatchlist.py: Increased log level.
  • Scripts/webkitpy/tool/steps/applywatchlist_unittest.py: Updated unit-tests.
  • Scripts/webkitpy/tool/commands/applywatchlistlocal_unittest.py: Ditto.
Location:
trunk/Tools
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r249066 r249067  
     12019-08-23  Aakash Jain  <aakash_jain@apple.com>
     2
     3        Increase log level for watchlist result
     4        https://bugs.webkit.org/show_bug.cgi?id=201081
     5
     6        Reviewed by Jonathan Bedard.
     7
     8        * Scripts/webkitpy/tool/steps/applywatchlist.py: Increased log level.
     9        * Scripts/webkitpy/tool/steps/applywatchlist_unittest.py: Updated unit-tests.
     10        * Scripts/webkitpy/tool/commands/applywatchlistlocal_unittest.py: Ditto.
     11
    1122019-08-23  Chris Dumez  <cdumez@apple.com>
    213
  • trunk/Tools/Scripts/webkitpy/tool/commands/applywatchlistlocal_unittest.py

    r234856 r249067  
    4949
    5050Message2.
    51 --- End comment ---\n\n"""
     51--- End comment ---\n
     52Result of watchlist: cc "eric@webkit.org, levin@chromium.org, abarth@webkit.org" messages "Message1.
     53
     54Message2."
     55"""
    5256        self.assert_execute_outputs(ApplyWatchListLocal(), ['50002'], expected_logs=expected_logs)
    5357
  • trunk/Tools/Scripts/webkitpy/tool/steps/applywatchlist.py

    r238956 r249067  
    6464            if cc_emails or comment_text:
    6565                self._tool.bugs.post_comment_to_bug(bug_id, comment_text, cc_emails)
    66             log_result = _log.debug
    6766        else:
    6867            _log.info('No bug was updated because no id was given.')
    69             log_result = _log.info
    70         log_result('Result of watchlist: cc "%s" messages "%s"' % (', '.join(cc_emails), comment_text))
     68        _log.info('Result of watchlist: cc "{}" messages "{}"'.format(', '.join(cc_emails), comment_text))
  • trunk/Tools/Scripts/webkitpy/tool/steps/applywatchlist_unittest.py

    r234856 r249067  
    4848--- End comment ---
    4949
     50Result of watchlist: cc "levin@chromium.org" messages "Message2."
    5051"""
    5152        capture.assert_outputs(self, step.run, [state], expected_logs=expected_logs)
Note: See TracChangeset for help on using the changeset viewer.