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