Changeset 69f58f5e


Ignore:
Timestamp:
01/29/2022 07:17:25 PM (2 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.1, 11.2, 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/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
60181f9b
Parents:
9c747e2
Message:

mutter: use --buildtype=release, and reword the note about test

As the test needs external dependency now, I think many people will just
skip it. So use --buildtype=release instead of
--buildtype=debugoptimized now. If someone wants to run the tests,
he/she can follow the note and replace release with debugoptimized.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gnome/platform/mutter.xml

    r9c747e2 r69f58f5e  
    158158cd    build &amp;&amp;
    159159
    160 meson --prefix=/usr --buildtype=debugoptimized -Dtests=false .. &amp;&amp;
     160meson --prefix=/usr --buildtype=release -Dtests=false .. &amp;&amp;
    161161ninja</userinput></screen>
    162162
     
    173173
    174174    <para>
    175       The test suite requires an external program called
    176       <command>xvfb-run</command>. If you wish to run the tests, you should
     175      The test suite requires debug functions enabled in the build, and
     176      an external program called <command>xvfb-run</command>.
     177      If you wish to run the tests, you should
    177178      download and install it before running <command>meson</command>.
    178179      You can obtain it from
    179180      <ulink url="&sources-anduin-http;/mutter/xvfb-run">xvfb-run</ulink>, and
    180181      install it in <filename class="directory">/usr/bin</filename>.
    181       You should also remove the <parameter>-Dtests=false</parameter> from
    182       the <command>meson</command> command. To run the tests, issue:
     182      <command>xvfb-run</command> needs <command>Xvfb</command> at runtime,
     183      and <command>Xvfb</command> can be installed from either
     184      <xref linkend='xorg-server'/> or <xref linkend='xwayland'/>.
     185      You should also replace the
     186      <parameter>--buildtype=release -Dtests=false</parameter> in
     187      the <command>meson</command> command, with
     188      <parameter>--buildtype=debugoptimized -Dtests=true</parameter>.
     189      To run the tests, issue:
    183190      <command>dbus-run-session ninja test</command>. Note that the tests
    184191      require an active X session to run correctly, and that
     
    197204    <title>Command Explanations</title>
    198205
    199     <para>
    200       <parameter>--buildtype=debugoptimized</parameter>: Override the
    201       default buildtype (<quote>debug</quote>), which would produce
    202       unoptimized binaries.  The test suite of this package needs debug
    203       to be enabled.
    204     </para>
     206    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     207      href="../../xincludes/meson-buildtype-release.xml"/>
    205208
    206209    <para>
Note: See TracChangeset for help on using the changeset viewer.