Changeset ac60f17f


Ignore:
Timestamp:
09/13/2022 05:15:52 PM (20 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/soup3, xry111/xf86-video-removal
Children:
d914e358
Parents:
9bda86e
Message:

Fix mutter dependencies for tests

Also don't make a difference between systemd and sysv for tests.
There are none...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gnome/platform/mutter.xml

    r9bda86e rac60f17f  
    129129    <bridgehead renderas="sect4">Optional</bridgehead>
    130130    <para role="optional">
     131      <xref linkend="python-dbusmock"/> (required for tests) and
    131132      <xref linkend="xorg-server"/> (for X11 sessions)
    132133    </para>
     
    173174    </para>
    174175    -->
     176    <!-- there are no added problems in sysv, AFAICT. Running the tests is
     177    not easy whatever the init system. But using the instructions below in
     178    a gnome session on sysv works (no test failure)...
    175179    <para revision='sysv'>
    176180       This package does not come with a test suite that runs properly in the
    177181       SystemV environment.
    178182    </para>
    179 
    180     <para revision='systemd'>
    181 
     183    -->
     184    <para>
    182185      The test suite requires debug functions to be enabled in the build, and an
    183186      external program called <command>xvfb-run</command>.  If you wish to run
     
    193196      linkend='xwayland'/>.
    194197
    195       You should also replace the <parameter>--buildtype=release
     198      You should also replace <parameter>--buildtype=release
    196199      -Dtests=false</parameter> in the <command>meson</command> command, with
    197200      <parameter>--buildtype=debugoptimized -Dtests=true</parameter>.  The test
    198201      suite requires the mutter schema to be installed on the system, so it is
    199       better to run the tests after installing the package.  </para>
     202      better to run the tests after installing the package.
     203    </para>
    200204
    201205    <para>
     
    205209<screen role="root"><userinput>ninja install</userinput></screen>
    206210
    207     <para revision='systemd'>
     211    <para>
    208212      The tests can now be run: issue
    209       <command>ninja test</command>. Note that the tests
    210       require an active X session and run best in an existing
    211       GNOME environment.
     213      <command>ninja test</command>. The tests
     214      require an active X or wayland session.
    212215      The <filename>native-unit</filename> is known to fail.
     216      A lot of tests will fail if the opengl rendering is not done in hardware.
    213217    </para>
    214218  </sect2>
Note: See TracChangeset for help on using the changeset viewer.