source: chapter04/abouttestsuites.xml@ 0f1998e

Last change on this file since 0f1998e was e12c714, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

Tags corrections, Chapter 4.

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

  • Property mode set to 100644
File size: 2.4 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="prepare-abouttestsuites">
[78349b7]7<title>About the Test Suites</title>
[673b0d8]8<?dbhtml filename="abouttestsuites.html"?>
9
[78349b7]10<para>Most packages provide a test suite. Running the test suite for a
[69993f4]11newly built package is a good idea because it can provide a <quote>sanity
12check</quote> indicating that everything compiled correctly. A test suite
[78349b7]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>
[673b0d8]16
[78349b7]17<para>Some test suites are more important than others. For example,
[69993f4]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
[78349b7]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>
[673b0d8]23
[78349b7]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>
[673b0d8]35
[78349b7]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
[e12c714]40<systemitem class="filesystem">devpts</systemitem> file system set up
41correctly. This issue is discussed in greater detail in <xref
[78349b7]42linkend="chapter-temporary-tools"/>.</para>
[673b0d8]43
[78349b7]44<para>Sometimes package test suites will give false failures. Consult
45the LFS Wiki at <ulink url="&wiki-root;"/> to verify that these
[69993f4]46failures are expected. This site is valid for all tests throughout this
[78349b7]47book.</para>
[673b0d8]48
49</sect1>
[78349b7]50
Note: See TracBrowser for help on using the repository browser.