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">
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>
17 <title>DejaGNU-&dejagnu-version;</title>
19 <indexterm zone="ch-tools-dejagnu">
20 <primary sortas="a-DejaGNU">DejaGNU</primary>
23 <sect2 role="package">
26 <para>The <application>DejaGnu</application> package contains a framework for running test
27 suites on GNU tools. It is written in <command>expect</command>, which itself
28 uses <application>Tcl</application> (Tool Command Language).</para>
31 <segtitle>&buildtime;</segtitle>
32 <segtitle>&diskspace;</segtitle>
35 <seg>&dejagnu-tmp-sbu;</seg>
36 <seg>&dejagnu-tmp-du;</seg>
42 <sect2 role="installation">
43 <title>Installation of DejaGNU</title>
45 <para>Prepare DejaGNU for compilation:</para>
47 <screen><userinput remap="configure">./configure --prefix=/usr
48 makeinfo --html --no-split -o doc/dejagnu.html doc/dejagnu.texi
49 makeinfo --plaintext -o doc/dejagnu.txt doc/dejagnu.texi</userinput></screen>
51 <para>Build and install the package:</para>
53 <screen><userinput remap="install">make install
54 install -v -dm755 /usr/share/doc/dejagnu-&dejagnu-version;
55 install -v -m644 doc/dejagnu.{html,txt} /usr/share/doc/dejagnu-&dejagnu-version;</userinput></screen>
57 <para>To test the results, issue:</para>
59 <screen><userinput remap="test">make check</userinput></screen>
64 <sect2 id="contents-dejagnu" role="content">
65 <title>Contents of DejaGNU</title>
68 <segtitle>Installed program</segtitle>
76 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
77 <?dbfo list-presentation="list"?>
78 <?dbhtml list-presentation="table"?>
80 <varlistentry id="runtest">
81 <term><command>runtest</command></term>
83 <para>A wrapper script that locates the proper
84 <command>expect</command> shell and then runs DejaGNU</para>
85 <indexterm zone="ch-tools-dejagnu runtest">
86 <primary sortas="b-runtest">runtest</primary>