source: chapter04/abouttestsuites.xml@ dc6acb5

Last change on this file since dc6acb5 was dc6acb5, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

In DocBook-NG the replacement for <ulink> is a new definition of <link>.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/LFS-RNG/BOOK@4544 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 section [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<section xmlns="http://docbook.org/docbook-ng"
7 xmlns:xlink="http://www.w3.org/1999/xlink"
8 xml:id="prepare-abouttestsuites">
9<title>About the test suites</title>
10<?dbhtml filename="abouttestsuites.html"?>
11
12<para>Most packages provide a test suite. Running the test suite for a newly
13built package is generally a good idea, as it can provide a nice sanity check
14that everything compiled correctly. A test suite that passes its set of checks
15usually proves that the package is functioning as the developer intended. It
16does not, however, guarantee that the package is totally bug free.</para>
17
18<para>Some test suites are more important than others. For example, the test
19suites for the core toolchain packages -- GCC, Binutils, and Glibc -- are of
20the utmost importance due to their central role in a properly functioning
21system. But be warned, the test suites for GCC and Glibc can take a very long
22time to complete, especially on slower hardware.</para>
23
24<note><para>Experience has shown us that there is little to be gained from running
25the test suites in <xref linkend="chapter-temporary-tools"/>. There can be no
26escaping the fact that the host system always exerts some influence on the
27tests in that chapter, often causing weird and inexplicable failures. Not only
28that, the tools built in <xref linkend="chapter-temporary-tools"/> are
29temporary and eventually discarded. For the average reader of this book we
30recommend <emphasis>not</emphasis> to run the test suites in
31<xref linkend="chapter-temporary-tools"/>. The instructions for running those test
32suites are still provided for the benefit of testers and developers, but they
33are strictly optional for everyone else.</para></note>
34
35<para>A common problem when running the test suites for Binutils and GCC is
36running out of pseudo terminals (PTYs for short). The symptom is a very high
37number of failing tests. This can happen for several reasons, but the most
38likely cause is that the host system doesn't have the
39<emphasis>devpts</emphasis> file system set up correctly. We'll discuss this in
40more detail later on in <xref linkend="chapter-temporary-tools"/>.</para>
41
42<para>Sometimes package test suites will give false failures. You can
43consult the LFS Wiki at <link xlink:href="&wiki-root;"/> to verify that these
44failures are normal. This applies to all tests throughout the book.</para>
45
46</section>
Note: See TracBrowser for help on using the repository browser.