Changeset c91dd5b for chapter05


Ignore:
Timestamp:
02/11/2004 10:02:10 PM (20 years ago)
Author:
Alex Gronenwoud <alex@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
a0b689e
Parents:
5cd6caa
Message:

Making the test suites in chapter 5 more clearly optional.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3248 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter05
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • chapter05/bash.xml

    r5cd6caa rc91dd5b  
    2727<screen><userinput>make</userinput></screen>
    2828
    29 <para>As discussed earlier, we don't recommend running the test suites for the
    30 temporary tools here in this chapter. If you still want to run the Bash test
    31 suite anyway, the following command will do so:</para>
    32 
    33 <screen><userinput>make tests</userinput></screen>
     29<para>(If you insist on testing the results, then issue:
     30<userinput>make tests</userinput>.)</para>
    3431
    3532<para>Then install it and its documentation:</para>
  • chapter05/coreutils.xml

    r5cd6caa rc91dd5b  
    1919
    2020<para>Coreutils has an issue when compiled against Glibc-&glibc-version;.
    21 Without the patch below, some of the Coreutils utilities (head, tail, sort etc)
    22 will reject their traditional syntax which has been in use for approximately 30
    23 years. The old syntax is so pervasive that compatibility must be preserved until
    24 the many places where it is used can be updated. More details are provided in
    25 the comments inside the patch itself. Use of this patch is by no means
    26 compulsory but opting not to use it means you'll have deal with the consequences
    27 yourself, i.e. patch the many software packages that use the old syntax. Apply
    28 the patch:</para>
     21Without the patch below, some of the Coreutils utilities
     22(<command>head</command>, <command>tail</command>, <command>sort</command>,
     23and others) will reject their traditional syntax which has been in use for
     24approximately 30 years. This old syntax is so pervasive that compatibility
     25should be preserved until the many places where it is used can be updated.
     26More details on this are provided in the comments inside the patch itself. Use
     27of this patch is by no means compulsory, but not using it means you'll have to
     28deal with the consequences yourself: patch the many packages that use the old
     29syntax. Therefore, better apply the patch:</para>
    2930
    3031<screen><userinput>patch -Np1 -i ../&coreutils-posixver-patch;</userinput></screen>
     
    3839<screen><userinput>make</userinput></screen>
    3940
    40 <para>As discussed earlier, we don't recommend running the test suites for the
    41 temporary tools here in this chapter. If you still want to run the Coreutils
    42 test suite anyway, the following command will do so:</para>
    43 
    44 <screen><userinput>make RUN_EXPENSIVE_TESTS=yes check</userinput></screen>
    45 
    46 <para>The meaning of the make parameter:</para>
    47 
    48 <itemizedlist>
    49 <listitem><para><userinput>RUN_EXPENSIVE_TESTS=yes</userinput>: This tells the
    50 test suite to run several additional tests that are considered relatively
    51 expensive on some platforms. However, they are generally not a problem on
    52 Linux.</para></listitem>
    53 </itemizedlist>
     41<para>(If you insist on testing the results, then issue:
     42<userinput>make RUN_EXPENSIVE_TESTS=yes check</userinput>. The
     43<emphasis>RUN_EXPENSIVE_TESTS=yes</emphasis> parameter tells the test suite to
     44run several additional tests that are considered relatively expensive on some
     45platforms but generally are not a problem on Linux.)</para>
    5446
    5547<para>And install the package:</para>
  • chapter05/expect.xml

    r5cd6caa rc91dd5b  
    4545<screen><userinput>make</userinput></screen>
    4646
    47 <para>As discussed earlier, we don't recommend running the test suites for the
    48 temporary tools here in this chapter. If you still want to run the Expect test
    49 suite anyway, the following command will do so. However, you should be aware
    50 that the Expect test suite is sometimes known to experience failures under
    51 certain host conditions that are not fully understood. Therefore, test suite
    52 failures here are not surprising, but are not considered critical:</para>
     47<para>(If you insist on testing the results, then issue:
     48<userinput>make test</userinput>. However, the Expect test suite is known to
     49experience failures under certain host conditions that are not fully
     50understood. Therefore, test suite failures here are not surprising, and are not
     51considered critical.)</para>
    5352
    54 <screen><userinput>make test</userinput></screen>
    55 
    56 <para>And install:</para>
     53<para>And install it:</para>
    5754
    5855<screen><userinput>make SCRIPTS="" install</userinput></screen>
  • chapter05/findutils.xml

    r5cd6caa rc91dd5b  
    2222<screen><userinput>make</userinput></screen>
    2323
    24 <para>As discussed earlier, we don't recommend running the test suites for the
    25 temporary tools here in this chapter. If you still want to run the Findutils
    26 test suite anyway, the following command will do so:</para>
    27 
    28 <screen><userinput>make check</userinput></screen>
     24<para>(If you insist on testing the results, then issue:
     25<userinput>make check</userinput>.)</para>
    2926
    3027<para>And install the package:</para>
  • chapter05/gawk.xml

    r5cd6caa rc91dd5b  
    2424<screen><userinput>make</userinput></screen>
    2525
    26 <para>As discussed earlier, we don't recommend running the test suites for the
    27 temporary tools here in this chapter. If you still want to run the Gawk test
    28 suite anyway, the following command will do so:</para>
    29 
    30 <screen><userinput>make check</userinput></screen>
     26<para>(If you insist on testing the results, then issue:
     27<userinput>make check</userinput>.)</para>
    3128
    3229<para>And install it:</para>
  • chapter05/gettext.xml

    r5cd6caa rc91dd5b  
    2222<screen><userinput>make</userinput></screen>
    2323
    24 <para>As discussed earlier, we don't recommend running the test suites for the
    25 temporary tools here in this chapter. If you still want to run the Gettext test
    26 suite anyway, the following command will do so. However, you should be aware
    27 that the Gettext test suite is known to experience failures under certain host
    28 conditions -- for example, when it finds a Java compiler on the host (Note: an
    29 experimental patch to disable Java is available from the patches project). Not
    30 only that, the Gettext test suite takes an excessive amount of time to run and
    31 is not considered critical:</para>
    32 
    33 <screen><userinput>make check</userinput></screen>
     24<para>(If you insist on testing the results, then issue: <userinput>make
     25check</userinput>. This takes a very long time, around 6 SBUs. Moreover, the
     26Gettext test suite is known to experience failures under certain host
     27conditions -- for example when it finds a Java compiler on the host (but an
     28experimental patch to disable Java is available from the LFS Patches
     29project).)</para>
    3430
    3531<para>And install the package:</para>
  • chapter05/grep.xml

    r5cd6caa rc91dd5b  
    3535<screen><userinput>make</userinput></screen>
    3636
    37 <para>As discussed earlier, we don't recommend running the test suites for the
    38 temporary tools here in this chapter. If you still want to run the Grep test
    39 suite anyway, the following command will do so:</para>
    40 
    41 <screen><userinput>make check</userinput></screen>
     37<para>(If you insist on testing the results, then issue:
     38<userinput>make check</userinput>.)</para>
    4239
    4340<para>Then install them and their documentation:</para>
  • chapter05/kernelheaders.xml

    r5cd6caa rc91dd5b  
    3939cp -R include/asm-generic /tools/include</userinput></screen>
    4040
    41 <para>Install the cross-platform kernel header files:</para>
     41<para>And finally install the cross-platform kernel header files:</para>
    4242
    4343<screen><userinput>cp -R include/linux /tools/include</userinput></screen>
  • chapter05/make.xml

    r5cd6caa rc91dd5b  
    2222<screen><userinput>make</userinput></screen>
    2323
    24 <para>As discussed earlier, we don't recommend running the test suites for the
    25 temporary tools here in this chapter. If you still want to run the Make test
    26 suite anyway, the following command will do so:</para>
    27 
    28 <screen><userinput>make check</userinput></screen>
     24<para>(If you insist on testing the results, then issue:
     25<userinput>make check</userinput>.)</para>
    2926
    3027<para>Then install it and its documentation:</para>
  • chapter05/patch.xml

    r5cd6caa rc91dd5b  
    1414<title>Installation of Patch</title>
    1515
    16 <para>Prepare Patch for compilation:</para>
     16<para>Prepare Patch for compilation (the preprocessor flag
     17<emphasis>-D_GNU_SOURCE</emphasis> is only needed on the PowerPC platform, on
     18other architectures you can leave it out):</para>
    1719
    1820<screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/tools</userinput></screen>
    19 
    20 <para>The preprocessor flag <emphasis>-D_GNU_SOURCE</emphasis> is only needed
    21 on the PowerPC platform. On other architectures you can leave it out.</para>
    2221
    2322<para>Compile the program:</para>
  • chapter05/sed.xml

    r5cd6caa rc91dd5b  
    2222<screen><userinput>make</userinput></screen>
    2323
    24 <para>As discussed earlier, we don't recommend running the test suites for the
    25 temporary tools here in this chapter. If you still want to run the Sed test
    26 suite anyway, the following command will do so:</para>
    27 
    28 <screen><userinput>make check</userinput></screen>
     24<para>(If you insist on testing the results, then issue:
     25<userinput>make check</userinput>.)</para>
    2926
    3027<para>Then install it and its documentation:</para>
  • chapter05/tar.xml

    r5cd6caa rc91dd5b  
    2222<screen><userinput>make</userinput></screen>
    2323
    24 <para>As discussed earlier, we don't recommend running the test suites for the
    25 temporary tools here in this chapter. If you still want to run the Tar test
    26 suite anyway, the following command will do so:</para>
    27 
    28 <screen><userinput>make check</userinput></screen>
     24<para>(If you insist on testing the results, then issue:
     25<userinput>make check</userinput>.)</para>
    2926
    3027<para>Then install them and their documentation:</para>
  • chapter05/tcl.xml

    r5cd6caa rc91dd5b  
    3333<screen><userinput>make</userinput></screen>
    3434
    35 <para>As discussed earlier, we don't recommend running the test suites for the
    36 temporary tools here in this chapter. If you still want to run the Tcl test
    37 suite anyway, the following command will do so. However, you should be aware
    38 that the Tcl test suite is sometimes known to experience failures under certain
    39 host conditions that are not fully understood. Therefore, test suite failures
    40 here are not surprising, but are not considered critical:</para>
    41 
    42 <screen><userinput>TZ=UTC make test</userinput></screen>
    43 
    44 <para>The meaning of the make parameter:</para>
    45 
    46 <itemizedlist>
    47 <listitem><para><userinput>TZ=UTC</userinput>: This sets the time zone to
    48 Coordinated Universal Time (UTC) also known as Greenwich Mean Time (GMT), but
    49 only for the duration of the test suite run. This ensures the clock tests are
    50 exercised correctly. More information on the TZ environment variable will be
    51 given later on in <xref linkend="chapter-bootscripts"/>.</para></listitem>
    52 </itemizedlist>
    53 
    54 <para>Sometimes package test suites will give false failures. You can
    55 consult the LFS Wiki at <ulink url="&wiki-root;"/> to verify that these
    56 failures are normal. This applies to all tests throughout the book.</para>
     35<para>(If you insist on testing the results, then issue:
     36<userinput>TZ=UTC make test</userinput>. However, the Tcl test suite is known
     37to experience failures under certain host conditions that are not fully
     38understood. Therefore, test suite failures here are not surprising, and are not
     39considered critical. The <emphasis>TZ=UTC</emphasis> parameter sets the time
     40zone to Coordinated Universal Time (UTC) also known as Greenwich Mean Time
     41(GMT), but only for the duration of the test suite run. This ensures the clock
     42tests are exercised correctly. More information on the TZ environment variable
     43will be given later on in <xref linkend="chapter-bootscripts"/>.)</para>
    5744
    5845<para>Install the package:</para>
     
    7057<literallayout></literallayout>
    7158
    72 <para>Make a necessary symbolic link:</para>
     59<para>And make a necessary symbolic link:</para>
    7360
    7461<screen><userinput>ln -s tclsh8.4 /tools/bin/tclsh</userinput></screen>
  • chapter05/texinfo.xml

    r5cd6caa rc91dd5b  
    2222<screen><userinput>make</userinput></screen>
    2323
    24 <para>As discussed earlier, we don't recommend running the test suites for the
    25 temporary tools here in this chapter. If you still want to run the Texinfo test
    26 suite anyway, the following command will do so:</para>
    27 
    28 <screen><userinput>make check</userinput></screen>
     24<para>(If you insist on testing the results, then issue:
     25<userinput>make check</userinput>.)</para>
    2926
    3027<para>Then install them and their documentation:</para>
Note: See TracChangeset for help on using the changeset viewer.