[eb091c9] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[eb091c9] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY dejagnu-download-http "http://freshmeat.net/redir/dejagnu/12564/url_tgz/dejagnu-&dejagnu-version;.tar.gz">
|
---|
| 8 | <!ENTITY dejagnu-download-ftp "ftp://ftp.gnu.org/pub/gnu/dejagnu/dejagnu-&dejagnu-version;.tar.gz">
|
---|
[23460a6] | 9 | <!ENTITY dejagnu-md5sum "053f18fd5d00873de365413cab17a666">
|
---|
[0b17574] | 10 | <!ENTITY dejagnu-size "1.08 MB">
|
---|
[eb091c9] | 11 | <!ENTITY dejagnu-buildsize "8.5 MB">
|
---|
| 12 | <!ENTITY dejagnu-time ".04 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="dejagnu" xreflabel="DejaGnu-&dejagnu-version;">
|
---|
| 16 | <sect1info>
|
---|
| 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
| 19 | </sect1info>
|
---|
| 20 | <?dbhtml filename="dejagnu.html"?>
|
---|
| 21 | <title>DejaGnu-&dejagnu-version;</title>
|
---|
[55d12bc] | 22 | <indexterm zone="dejagnu">
|
---|
| 23 | <primary sortas="a-DejaGnu">DejaGnu</primary>
|
---|
| 24 | </indexterm>
|
---|
[eb091c9] | 25 |
|
---|
| 26 | <sect2>
|
---|
| 27 | <title>Introduction to <application>DejaGnu</application></title>
|
---|
| 28 |
|
---|
| 29 | <para><application>DejaGnu</application> is a framework for running test suites
|
---|
| 30 | on <acronym>GNU</acronym> tools. It is written in <command>expect</command>,
|
---|
| 31 | which uses <application>Tcl</application> (Tool command language).</para>
|
---|
| 32 |
|
---|
| 33 | <sect3><title>Package information</title>
|
---|
| 34 | <itemizedlist spacing="compact">
|
---|
| 35 | <listitem><para>Download (HTTP):
|
---|
| 36 | <ulink url="&dejagnu-download-http;"/></para></listitem>
|
---|
| 37 | <listitem><para>Download (FTP):
|
---|
| 38 | <ulink url="&dejagnu-download-ftp;"/></para></listitem>
|
---|
[23460a6] | 39 | <listitem><para>Download MD5 sum: &dejagnu-md5sum;</para></listitem>
|
---|
[eb091c9] | 40 | <listitem><para>Download size: &dejagnu-size;</para></listitem>
|
---|
[518538f] | 41 | <listitem><para>Estimated disk space required:
|
---|
[eb091c9] | 42 | &dejagnu-buildsize;</para></listitem>
|
---|
| 43 | <listitem><para>Estimated build time:
|
---|
| 44 | &dejagnu-time;</para></listitem></itemizedlist>
|
---|
| 45 | </sect3>
|
---|
| 46 |
|
---|
| 47 | <sect3><title><application>DejaGnu</application> dependencies</title>
|
---|
| 48 | <sect4><title>Required</title>
|
---|
| 49 | <para><xref linkend="expect"/></para>
|
---|
| 50 | </sect4>
|
---|
| 51 |
|
---|
| 52 | <sect4><title>Optional</title>
|
---|
| 53 | <para><xref linkend="docbook-utils"/></para>
|
---|
| 54 | </sect4>
|
---|
| 55 | </sect3>
|
---|
| 56 |
|
---|
| 57 | </sect2>
|
---|
| 58 |
|
---|
| 59 | <sect2>
|
---|
| 60 | <title>Installation of <application>DejaGnu</application></title>
|
---|
| 61 |
|
---|
[a2d1779] | 62 | <para>Install <application>DejaGnu</application> by running the following
|
---|
| 63 | commands:</para>
|
---|
[eb091c9] | 64 |
|
---|
| 65 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
[55d12bc] | 66 | make</command></userinput></screen>
|
---|
| 67 |
|
---|
| 68 | <para>Now, as the root user:</para>
|
---|
| 69 |
|
---|
| 70 | <screen><userinput role='root'><command>make install &&
|
---|
[eb091c9] | 71 | make install-doc</command></userinput></screen>
|
---|
| 72 |
|
---|
| 73 | </sect2>
|
---|
| 74 |
|
---|
| 75 | <sect2>
|
---|
| 76 | <title>Contents</title>
|
---|
| 77 |
|
---|
[55d12bc] | 78 | <segmentedlist>
|
---|
| 79 | <segtitle>Installed Program</segtitle>
|
---|
[0b17574] | 80 | <segtitle>Installed Libraries</segtitle>
|
---|
[55d12bc] | 81 | <segtitle>Installed Scripts</segtitle>
|
---|
| 82 | <segtitle>Installed Directory</segtitle>
|
---|
| 83 |
|
---|
| 84 | <seglistitem>
|
---|
| 85 | <seg>runtest</seg>
|
---|
[0b17574] | 86 | <seg>None</seg>
|
---|
[55d12bc] | 87 | <seg>There are numerous <application>Expect</application> scripts installed in
|
---|
| 88 | the <filename class='directory'>/usr/share/dejagnu</filename> hierarchy.</seg>
|
---|
| 89 | <seg>/usr/share/dejagnu</seg>
|
---|
| 90 | </seglistitem>
|
---|
| 91 | </segmentedlist>
|
---|
| 92 |
|
---|
| 93 | <variablelist>
|
---|
| 94 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 95 | <?dbfo list-presentation="list"?>
|
---|
| 96 |
|
---|
| 97 | <varlistentry id="runtest">
|
---|
| 98 | <term><command>runtest</command></term>
|
---|
| 99 | <listitem><para>is the <application>DejaGnu</application> test driver program.
|
---|
| 100 | It is used to control what tests to run, and variations on how to run
|
---|
| 101 | them.</para>
|
---|
| 102 | <indexterm zone="dejagnu runtest">
|
---|
| 103 | <primary sortas="b-runtest">runtest</primary>
|
---|
| 104 | </indexterm></listitem>
|
---|
| 105 | </varlistentry>
|
---|
| 106 | </variablelist>
|
---|
[eb091c9] | 107 |
|
---|
| 108 | </sect2>
|
---|
| 109 |
|
---|
| 110 | </sect1>
|
---|
| 111 |
|
---|