| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 | <?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [  <!ENTITY % general-entities SYSTEM "../general.ent">  %general-entities;]><sect1 id="prepare-abouttestsuites"><title>About the test suites</title><?dbhtml filename="abouttestsuites.html"?><para>See testing</para><!--<para>Most packages provide a test suite. Running the test suite for a newlybuilt package is generally a good idea, as it can provide a nice sanity checkthat everything compiled correctly. A test suite that passes its set of checksusually proves that the package is functioning as the developer intended. Itdoes not, however, guarantee that the package is totally bug free.</para><para>Some test suites are more important than others. For example, the testsuites for the core toolchain packages - GCC, Binutils, and Glibc - are ofthe utmost importance due to their central role in a properly functioningsystem. But be warned, the test suites for GCC and Glibc can take a very longtime to complete, especially on slower hardware.</para><note><para>Experience has shown us that there is little to be gained from runningthe test suites in <xref linkend="chapter-temporary-tools"/>. There can be noescaping the fact that the host system always exerts some influence on thetests in that chapter, often causing weird and inexplicable failures. Not onlythat, the tools built in <xref linkend="chapter-temporary-tools"/> aretemporary and eventually discarded. For the average reader of this book werecommend <emphasis>not</emphasis> to run the test suites in <xref linkend="chapter-temporary-tools"/>. The instructions for running those testsuites are still provided for the benefit of testers and developers, but theyare strictly optional for everyone else.</para></note><para>A common problem when running the test suites for Binutils and GCC isrunning out of pseudo terminals (PTYs for short). The symptom is a very highnumber of failing tests. This can happen for several reasons, but the mostlikely cause is that the host system doesn't have the<emphasis>devpts</emphasis> file system set up correctly. We'll discuss this inmore detail later on in <xref linkend="chapter-temporary-tools"/>.</para><para>Sometimes package test suites will give false failures. You canconsult the LFS Wiki at <ulink url="&wiki-root;"/> to verify that thesefailures are normal. This applies to all tests throughout the book.</para>--></sect1>
 |