source: BOOK/final-system/common/testsuitesagain.xml@ fe4501d

sysvinit
Last change on this file since fe4501d was 33346dd, checked in by Chris Staub <chris@…>, 11 years ago

More consistently use 'test suite' rather than 'testsuite'

Conflicts:

BOOK/appendices/dependencies/common.xml
BOOK/final-system/common/dbus.xml

  • Property mode set to 100644
File size: 2.0 KB
RevLine 
[5da8aa0]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[5da8aa0]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-final-system-testsuitesagain">
9 <?dbhtml filename="testsuitesagain.html"?>
10
11 <title>About Test Suites, Again</title>
12
13 <para>In the final-system build, you are no longer cross-compiling so it
[33346dd]14 is possible to run package test suites. Running the test suite for a
[5f63ccf]15 newly built package is a good idea because it can provide a <quote>sanity
16 check</quote> indicating that everything compiled correctly. A test suite
17 that passes its set of checks usually proves that the package is
18 functioning as the developer intended. It does not, however, guarantee
19 that the package is totally bug free.</para>
20
21 <para>Some test suites are more important than others. For example, the test
22 suites for the core toolchain packages&mdash;GCC, Binutils,
23 and Glibc&mdash;are of the utmost
[5da8aa0]24 importance due to their central role in a properly functioning system.
25 The test suites for GCC and Glibc can take a very long time to complete,
26 especially on slower hardware, but are strongly recommended.</para>
27
28 <para>A common issue with running the test suites for Binutils and GCC
29 is running out of pseudo terminals (PTYs). This can result in a high
30 number of failing tests. This may happen for several reasons, but the
[33d4b68]31 most likely cause (if you chrooted) is that the host system does not have the
[5da8aa0]32 <systemitem class="filesystem">devpts</systemitem> file system set up
33 correctly. This issue is discussed in greater detail at
[1322a63]34 <ulink url="&faq-root;#no-ptys"/>.</para>
[5da8aa0]35
36 <para>Sometimes package test suites will fail, but for reasons which the
37 developers are aware of and have deemed non-critical. Consult the logs located
38 at <ulink url="&test-results;"/> to verify whether or not these failures are
39 expected. This site is valid for all tests throughout this book.</para>
40
41</sect1>
Note: See TracBrowser for help on using the repository browser.