Changeset 0c1c573


Ignore:
Timestamp:
06/12/2023 11:08:35 AM (12 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.1, kea, ken/TL2024, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
e8314fa
Parents:
196cbf4
Message:

rust: Document test failures, and correct some XML elements in explanations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/rust.xml

    r196cbf4 r0c1c573  
    352352    </para>
    353353
    354 <screen remap="test"><userinput>python3 ./x.py test --verbose --no-fail-fast | tee rustc-testlog</userinput></screen>
     354<screen remap="test"><userinput>SSL_CERT_DIR=/etc/ssl/certs \
     355python3 ./x.py test --verbose --no-fail-fast | tee rustc-testlog</userinput></screen>
     356
     357    <!-- https://github.com/rust-lang/rust/issues/112209 -->
     358    <para>
     359      Three <literal>ui</literal> tests may fail (depending on the length
     360      of absolute path of the
     361      <filename class='directory'>rustc-&rust-version;-src</filename>
     362      directory).
     363    </para>
    355364
    356365    <para>
     
    439448
    440449    <para>
    441       <command>targets = "X86"</command>: this avoids building all the available
     450      <literal>targets = "X86"</literal>: this avoids building all the available
    442451      linux cross-compilers (AArch64, MIPS, PowerPC, SystemZ, etc). Unfortunately,
    443452      rust insists on installing source files for these below
     
    446455
    447456    <para>
    448       <command>extended = true</command>: this installs several tools
     457      <literal>extended = true</literal>: this installs several tools
    449458      (specified by the <literal>tools</literal> entry) alongside
    450459      <command>rustc</command>.
     
    452461
    453462    <para>
    454       <command>tools = ["cargo", "clippy", "rustdoc", "rustfmt"]</command>:
     463      <literal>tools = ["cargo", "clippy", "rustdoc", "rustfmt"]</literal>:
    455464      only build the tools from the 'default' profile in binary command
    456465      <command>rustup</command> which are recommended for most users.
     
    460469
    461470    <para>
    462       <command>channel = "stable"</command>: this ensures only stable features
     471      <literal>channel = "stable"</literal>: this ensures only stable features
    463472      can be used, the default in <filename>config.toml</filename> is to use
    464473      development features, which is not appropriate for a released version.
     
    467476    <!-- comment while using shipped LLVM -->
    468477    <para>
    469       <command>[target.x86_64-unknown-linux-gnu]</command>: the syntax of
     478      <literal>[target.x86_64-unknown-linux-gnu]</literal>: the syntax of
    470479      <filename>config.toml</filename> requires an <literal>llvm-config</literal>
    471480      entry for each target for which system-llvm is to be used. Change the target
     
    499508    </para>-->
    500509
    501     <para>
    502       <command>--verbose</command>: this switch can sometimes provide more
     510    <!-- https://github.com/alexcrichton/openssl-probe/issues/25 -->
     511    <para>
     512      <envar>SSL_CERT_DIR=/etc/ssl/certs</envar>: Work around an issue
     513      causing test failures with the CA certificate store layout used by
     514      <xref linkend='make-ca'/>.
     515    </para>
     516
     517    <para>
     518      <parameter>--verbose</parameter>: this switch can sometimes provide more
    503519      information about a test which fails.
    504520    </para>
    505521
    506522    <para>
    507       <command>--no-fail-fast</command>: this switch ensures that the test suite
     523      <parameter>--no-fail-fast</parameter>: this switch ensures that the test suite
    508524      will not stop at the first error.
    509525    </para>
Note: See TracChangeset for help on using the changeset viewer.