source: chapter04/abouttestsuites.xml@ 663ecfc

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.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 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
Last change on this file since 663ecfc was 663ecfc, checked in by Archaic <archaic@…>, 19 years ago

Several minor wording changes (chapters 1 - 5).

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

  • Property mode set to 100644
File size: 2.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="prepare-abouttestsuites">
7<title>About the Test Suites</title>
8<?dbhtml filename="abouttestsuites.html"?>
9
10<para>Most packages provide a test suite. Running the test suite for a
11newly built package is a good idea because it can provide a <quote>sanity
12check</quote> indicating that everything compiled correctly. A test suite
13that passes its set of checks usually proves that the package is
14functioning as the developer intended. It does not, however, guarantee
15that the package is totally bug free.</para>
16
17<para>Some test suites are more important than others. For example,
18the test suites for the core toolchain packages&mdash;GCC, Binutils, and
19Glibc&mdash;are of the utmost importance due to their central role in a
20properly functioning system. The test suites for GCC and Glibc can
21take a very long time to complete, especially on slower hardware, but
22are strongly recommended.</para>
23
24<note><para>Experience has shown that there is little to be gained
25from running the test suites in <xref
26linkend="chapter-temporary-tools"/>. There can be no escaping the fact
27that the host system always exerts some influence on the tests in that
28chapter, often causing inexplicable failures. Because the tools built
29in <xref linkend="chapter-temporary-tools"/> are temporary and
30eventually discarded, we do not recommend running the test suites in
31<xref linkend="chapter-temporary-tools"/> for the average reader. The
32instructions for running those test suites are provided for the
33benefit of testers and developers, but they are strictly
34optional.</para></note>
35
36<para>A common issue with running the test suites for Binutils and GCC
37is running out of pseudo terminals (PTYs). This can result in a high
38number of failing tests. This may happen for several reasons, but the
39most likely cause is that the host system does not have the
40<systemitem class="filesystem">devpts</systemitem> file system set up
41correctly. This issue is discussed in greater detail in <xref
42linkend="chapter-temporary-tools"/>.</para>
43
44<para>Sometimes package test suites will fail, but for reasons which the
45developers are aware of and have deemed non-critical. Consult the logs located
46at <ulink url="&test-results;"/> to verify whether or not these failures are
47expected. This site is valid for all tests throughout this book.</para>
48
49</sect1>
50
Note: See TracBrowser for help on using the repository browser.