Exemplo n.º 1
0
    def __init__(self, host, port_name, **kwargs):
        super(LinuxPort, self).__init__(host, port_name, **kwargs)
        self._version = port_name[port_name.index('linux-') + len('linux-'):]
        self._architecture = "x86_64"
        assert self._version in self.SUPPORTED_VERSIONS

        if not self.get_option('disable_breakpad'):
            self._dump_reader = DumpReaderLinux(host, self._build_path())
Exemplo n.º 2
0
 def __init__(self, host, port_name, **kwargs):
     super(LinuxPort, self).__init__(host, port_name, **kwargs)
     (base, arch) = port_name.rsplit('-', 1)
     assert base == 'linux'
     assert arch in self.SUPPORTED_VERSIONS
     assert port_name in ('linux', 'linux-x86', 'linux-x86_64')
     self._version = 'lucid'  # We only support lucid right now.
     self._architecture = arch
     if not self.get_option('disable_breakpad'):
         self._dump_reader = DumpReaderLinux(host, self._build_path())
Exemplo n.º 3
0
    def __init__(self, host, port_name, **kwargs):
        super(LinuxPort, self).__init__(host, port_name, **kwargs)
        self._version = port_name[port_name.index('linux-') + len('linux-'):]
        self._architecture = 'x86_64'
        assert self._version in self.SUPPORTED_VERSIONS

        if not self.get_option('disable_breakpad'):
            self._dump_reader = DumpReaderLinux(host, self._build_path())
        self._original_home = None
        self._original_display = None
        self._xvfb_process = None
        self._xvfb_stdout = None
        self._xvfb_stderr = None
Exemplo n.º 4
0
    def __init__(self, host, port_name, **kwargs):
        super(LinuxPort, self).__init__(host, port_name, **kwargs)

        # FIXME: Rename 32-bit port name from linux-x86 to linux-linux32 to avoid confusion.
        assert port_name.startswith('linux-')
        port_name_suffix = port_name.replace('linux-', '', 1)
        if port_name_suffix == "x86":
            self._version = "linux32"
            self._architecture = "x86"
        else:
            self._version = port_name_suffix
            self._architecture = "x86_64"
        assert self._version in self.SUPPORTED_VERSIONS

        if not self.get_option('disable_breakpad'):
            self._dump_reader = DumpReaderLinux(host, self._build_path())