source: chapter04/abouttestsuites.xml@ 78349b7

6.0
Last change on this file since 78349b7 was 78349b7, checked in by Gerard Beekmans <gerard@…>, 20 years ago

Completed global edits for upcoming 6.0 release

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

  • Property mode set to 100644
File size: 2.4 KB
Line 
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">
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 ?sanity
12check? 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?GCC, Binutils, and
19Glibc?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<emphasis>devpts</emphasis> file system set up correctly. This issue
41is discussed in greater detail in <xref
42linkend="chapter-temporary-tools"/>.</para>
43
44<para>Sometimes package test suites will give false failures. Consult
45the LFS Wiki at <ulink url="&wiki-root;"/> to verify that these
46failures are normal. This site is valid for all tests throughout this
47book.</para>
48
49</sect1>
50
Note: See TracBrowser for help on using the repository browser.