source: chapter04/abouttestsuites.xml@ c721fc9

6.1 6.1.1
Last change on this file since c721fc9 was c721fc9, checked in by Archaic <archaic@…>, 19 years ago

Added a link to point to testsuite results. (fixes bug 1564).

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.1/BOOK@6118 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 give false failures. Consult the logs
45located at <ulink url="http://linuxfromscratch.org/~archaic/logs-6.1/"/> to
46verify whether or not these failures are expected. This site is valid for all
47tests throughout this book.</para>
48
49</sect1>
50
Note: See TracBrowser for help on using the repository browser.