Changeset 1e361b35


Ignore:
Timestamp:
08/27/2023 12:24:39 PM (9 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
d70a048
Parents:
47aab765
git-author:
Xi Ruoyao <xry111@…> (08/27/2023 11:46:35 AM)
git-committer:
Xi Ruoyao <xry111@…> (08/27/2023 12:24:39 PM)
Message:

gtk-{3,4}: Use dbus-run-session for testing

If a dbus session address is not available, some tests will fail.

Not sure about gtk-2.

Location:
x/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • x/lib/gtk+3.xml

    r47aab765 r1e361b35  
    128128    <para>
    129129      To test the results you need a graphical session, then issue
    130       <command>ninja test</command>.
     130      <command>dbus-run-session ninja test</command>.
    131131    </para>
    132132
  • x/lib/gtk4.xml

    r47aab765 r1e361b35  
    153153
    154154    <para>
    155       To run the tests, issue: <command>meson test --setup x11</command>. If you
    156       are in a Wayland session, replace x11 with wayland. Nine tests are known
    157       to fail if
    158       <ulink url="https://gitlab.gnome.org/GNOME/cantarell-fonts">Cantarell fonts</ulink>
     155      To run the tests, issue: <command>dbus-run-session meson test --setup
     156      x11</command>. If you are in a Wayland session, replace x11 with wayland.
     157      Nine tests are known to fail if
     158      <ulink url="https://gitlab.gnome.org/GNOME/cantarell-fonts">Cantrell fonts</ulink>
    159159      are not installed. Many tests will fail if
    160160      <filename>~/.config/gtk-4.0/settings.ini</filename> exists and gtk-modules
Note: See TracChangeset for help on using the changeset viewer.