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

Changeset 280965 in webkit


Ignore:
Timestamp:
Aug 12, 2021, 6:52:29 AM (5 years ago)
Author:
Carlos Garcia Campos
Message:

[GTK] run-gtk-tests always fails to start accessibility daemons
https://bugs.webkit.org/show_bug.cgi?id=229031

Reviewed by Michael Catanzaro.

This is because it uses exec_prefix variable from atspi2 pkg-config file to try to find the executables, but
atspi2 pkg-config file doesn't have a exec_prefix variable anymore. It was always set to $prefix, so we can just
use prefix variable instead.

  • Scripts/run-gtk-tests:

(GtkTestRunner._lookup_atspi2_binary):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r280958 r280965  
     12021-08-12  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        [GTK] run-gtk-tests always fails to start accessibility daemons
     4        https://bugs.webkit.org/show_bug.cgi?id=229031
     5
     6        Reviewed by Michael Catanzaro.
     7
     8        This is because it uses exec_prefix variable from atspi2 pkg-config file to try to find the executables, but
     9        atspi2 pkg-config file doesn't have a exec_prefix variable anymore. It was always set to $prefix, so we can just
     10        use prefix variable instead.
     11
     12        * Scripts/run-gtk-tests:
     13        (GtkTestRunner._lookup_atspi2_binary):
     14
    1152021-08-12  Youenn Fablet  <youenn@apple.com>
    216
  • trunk/Tools/Scripts/run-gtk-tests

    r272484 r280965  
    4545
    4646    def _lookup_atspi2_binary(self, filename):
    47         exec_prefix = common.pkg_config_file_variable('atspi-2', 'exec_prefix')
    48         if not exec_prefix:
     47        prefix = common.pkg_config_file_variable('atspi-2', 'prefix')
     48        if not prefix:
    4949            return None
    5050        for path in ['libexec', 'lib/at-spi2-core', 'lib32/at-spi2-core', 'lib64/at-spi2-core']:
    51             filepath = os.path.join(exec_prefix, path, filename)
     51            filepath = os.path.join(prefix, path, filename)
    5252            if os.path.isfile(filepath):
    5353                return filepath
Note: See TracChangeset for help on using the changeset viewer.