Changeset 245819 in webkit


Ignore:
Timestamp:
May 28, 2019 12:06:18 PM (5 years ago)
Author:
commit-queue@webkit.org
Message:

webkitpy: Using sudo on iOS device during timeout spindumps
https://bugs.webkit.org/show_bug.cgi?id=198142

Patch by David Xiong <w_xiong@apple.com> on 2019-05-28
Reviewed by Jonathan Bedard.

  • Scripts/webkitpy/port/darwin.py:

(DarwinPort.sample_process): Check target host instead of source host for sudo command.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r245814 r245819  
     12019-05-28  David Xiong  <w_xiong@apple.com>
     2
     3        webkitpy: Using sudo on iOS device during timeout spindumps
     4        https://bugs.webkit.org/show_bug.cgi?id=198142
     5
     6        Reviewed by Jonathan Bedard.
     7
     8        * Scripts/webkitpy/port/darwin.py:
     9        (DarwinPort.sample_process): Check target host instead of source host for sudo command.
     10
    1112019-05-28  Aakash Jain  <aakash_jain@apple.com>
    212
  • trunk/Tools/Scripts/webkitpy/port/darwin.py

    r245733 r245819  
    169169            DarwinPort.spindump_file_path(host, name, pid, str(tempdir)),
    170170        ]
    171         if self.host.platform.is_mac():
     171        if host.platform.is_mac():
    172172            command = ['/usr/bin/sudo', '-n'] + command
    173173        exit_status = host.executive.run_command(command, return_exit_code=True)
Note: See TracChangeset for help on using the changeset viewer.