Changeset 263684 in webkit


Ignore:
Timestamp:
Jun 29, 2020 1:09:19 PM (4 years ago)
Author:
Fujii Hironori
Message:

[Win] run-webkit-tests is failing to run DRT and WTR without --architecture x86_64
https://bugs.webkit.org/show_bug.cgi?id=213688

Reviewed by Jonathan Bedard.

  • Scripts/webkitpy/port/win.py:

(WinPort._port_flag_for_scripts):
(WinPort._build_path):
(WinPort._ntsd_location):
Replaced self.get_option('architecture') with self.architecture().

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r263660 r263684  
     12020-06-29  Fujii Hironori  <Hironori.Fujii@sony.com>
     2
     3        [Win] run-webkit-tests is failing to run DRT and WTR without --architecture x86_64
     4        https://bugs.webkit.org/show_bug.cgi?id=213688
     5
     6        Reviewed by Jonathan Bedard.
     7
     8        * Scripts/webkitpy/port/win.py:
     9        (WinPort._port_flag_for_scripts):
     10        (WinPort._build_path):
     11        (WinPort._ntsd_location):
     12        Replaced self.get_option('architecture') with self.architecture().
     13
    1142020-06-29  Jonathan Bedard  <jbedard@apple.com>
    215
  • trunk/Tools/Scripts/webkitpy/port/win.py

    r255243 r263684  
    154154
    155155    def _port_flag_for_scripts(self):
    156         if self.get_option('architecture') == 'x86_64':
     156        if self.architecture() == 'x86_64':
    157157            return '--64-bit'
    158158        return None
     
    167167            ApplePort._build_path(self, *comps)  # Sets option _cached_root
    168168            binary_directory = 'bin32'
    169             if self.get_option('architecture') == 'x86_64':
     169            if self.architecture() == 'x86_64':
    170170                binary_directory = 'bin64'
    171171            root_directory = self._filesystem.join(self.get_option('_cached_root'), binary_directory)
     
    217217            self._filesystem.join(os.environ['PROGRAMFILES'], "Windows Kits", "8.1", "Debuggers", "x64", "ntsd.exe"),
    218218            self._filesystem.join(os.environ['PROGRAMFILES'], "Windows Kits", "8.0", "Debuggers", "x64", "ntsd.exe")]
    219         if self.get_option('architecture') == 'x86_64':
     219        if self.architecture() == 'x86_64':
    220220            possible_paths.append(self._filesystem.join("{0} (x86)".format(os.environ['PROGRAMFILES']), "Windows Kits", "10", "Debuggers", "x64", "ntsd.exe"))
    221221            possible_paths.append(self._filesystem.join("{0} (x86)".format(os.environ['PROGRAMFILES']), "Windows Kits", "8.1", "Debuggers", "x64", "ntsd.exe"))
Note: See TracChangeset for help on using the changeset viewer.