| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 | <?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/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>Most packages provide a test suite. Running the test suite for anewly built package is a good idea because it can provide a <quote>sanitycheck</quote> indicating that everything compiled correctly. A test suitethat passes its set of checks usually proves that the package isfunctioning as the developer intended. It does not, however, guaranteethat the package is totally bug free.</para><para>Some test suites are more important than others. For example,the test suites for the core toolchain packages—GCC, Binutils, andGlibc—are of the utmost importance due to their central role in aproperly functioning system. The test suites for GCC and Glibc cantake a very long time to complete, especially on slower hardware, butare strongly recommended.</para><note><para>Experience has shown that there is little to be gainedfrom running the test suites in <xreflinkend="chapter-temporary-tools"/>. There can be no escaping the factthat the host system always exerts some influence on the tests in thatchapter, often causing inexplicable failures. Because the tools builtin <xref linkend="chapter-temporary-tools"/> are temporary andeventually discarded, we do not recommend running the test suites in<xref linkend="chapter-temporary-tools"/> for the average reader. Theinstructions for running those test suites are provided for thebenefit of testers and developers, but they are strictlyoptional.</para></note><para>A common issue with running the test suites for Binutils and GCCis running out of pseudo terminals (PTYs). This can result in a highnumber of failing tests. This may happen for several reasons, but themost likely cause is that the host system does not have the<systemitem class="filesystem">devpts</systemitem> file system set up correctly. This issue is discussed in greater detail in <xreflinkend="chapter-temporary-tools"/>.</para><para>Sometimes package test suites will fail, but for reasons which thedevelopers are aware of and have deemed non-critical. Consult the logs locatedat <ulink url="&test-results;"/> to verify whether or not these failures areexpected. This site is valid for all tests throughout this book.</para></sect1>
 |