LFS-systemd-7.8
[linux_from_scratch.git] / chapter05 / dejagnu.xml
blobbae0ed7d9216bb2b7394d52bf085957adf60bc0e
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4   <!ENTITY % general-entities SYSTEM "../general.ent">
5   %general-entities;
6 ]>
8 <sect1 id="ch-tools-dejagnu" role="wrap">
9   <?dbhtml filename="dejagnu.html"?>
11   <sect1info condition="script">
12     <productname>dejagnu</productname>
13     <productnumber>&dejagnu-version;</productnumber>
14     <address>&dejagnu-url;</address>
15   </sect1info>
17   <title>DejaGNU-&dejagnu-version;</title>
19   <indexterm zone="ch-tools-dejagnu">
20     <primary sortas="a-DejaGNU">DejaGNU</primary>
21   </indexterm>
23   <sect2 role="package">
24     <title/>
26     <para>The DejaGNU package contains a framework for testing other
27     programs.</para>
29     <segmentedlist>
30       <segtitle>&buildtime;</segtitle>
31       <segtitle>&diskspace;</segtitle>
33       <seglistitem>
34         <seg>&dejagnu-ch5-sbu;</seg>
35         <seg>&dejagnu-ch5-du;</seg>
36       </seglistitem>
37     </segmentedlist>
39   </sect2>
41   <sect2 role="installation">
42     <title>Installation of DejaGNU</title>
44     <para>Prepare DejaGNU for compilation:</para>
46 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
48     <para>Build and install the package:</para>
50 <screen><userinput remap="install">make install</userinput></screen>
52     <para>To test the results, issue:</para>
54 <screen><userinput remap="test">make check</userinput></screen>
56   </sect2>
59   <sect2 id="contents-dejagnu" role="content">
60     <title>Contents of DejaGNU</title>
62     <segmentedlist>
63       <segtitle>Installed program</segtitle>
65       <seglistitem>
66         <seg>runtest</seg>
67       </seglistitem>
68     </segmentedlist>
70     <variablelist>
71       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
72       <?dbfo list-presentation="list"?>
73       <?dbhtml list-presentation="table"?>
75       <varlistentry id="runtest">
76         <term><command>runtest</command></term>
77         <listitem>
78           <para>A wrapper script that locates the proper
79           <command>expect</command> shell and then runs DejaGNU</para>
80           <indexterm zone="ch-tools-dejagnu runtest">
81             <primary sortas="b-runtest">runtest</primary>
82           </indexterm>
83         </listitem>
84       </varlistentry>
86     </variablelist>
88   </sect2>
90 </sect1>