Changeset 246269 in webkit


Ignore:
Timestamp:
Jun 10, 2019 11:01:05 AM (5 years ago)
Author:
Jonathan Bedard
Message:

webkitpy: xcrun simctl spawn * launchctl print system output is not utf-8
https://bugs.webkit.org/show_bug.cgi?id=198723

Reviewed by Aakash Jain.

  • Scripts/webkitpy/xcode/simulated_device.py:

(SimulatedDevice.is_usable): Do not decode 'print system' output, it's already ASCII.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r246264 r246269  
     12019-06-10  Jonathan Bedard  <jbedard@apple.com>
     2
     3        webkitpy: xcrun simctl spawn *** launchctl print system output is not utf-8
     4        https://bugs.webkit.org/show_bug.cgi?id=198723
     5
     6        Reviewed by Aakash Jain.
     7
     8        * Scripts/webkitpy/xcode/simulated_device.py:
     9        (SimulatedDevice.is_usable): Do not decode 'print system' output, it's already ASCII.
     10
    1112019-06-10  Sihui Liu  <sihui_liu@apple.com>
    212
  • trunk/Tools/Scripts/webkitpy/xcode/simulated_device.py

    r244873 r246269  
    535535            return True
    536536
    537         for line in self.executive.run_command([SimulatedDeviceManager.xcrun, 'simctl', 'spawn', self.udid, 'launchctl', 'print', 'system']).splitlines():
     537        for line in self.executive.run_command([SimulatedDeviceManager.xcrun, 'simctl', 'spawn', self.udid, 'launchctl', 'print', 'system'], decode_output=False).splitlines():
    538538            if home_screen_service in line:
    539539                return True
Note: See TracChangeset for help on using the changeset viewer.