2004-08-30 07:41:06 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2005-04-02 23:59:17 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
2004-08-30 07:41:06 +08:00
|
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
|
|
|
<!ENTITY dejagnu-download-http "http://freshmeat.net/redir/dejagnu/12564/url_tgz/dejagnu-&dejagnu-version;.tar.gz">
|
|
|
|
<!ENTITY dejagnu-download-ftp "ftp://ftp.gnu.org/pub/gnu/dejagnu/dejagnu-&dejagnu-version;.tar.gz">
|
2005-02-09 10:52:39 +08:00
|
|
|
<!ENTITY dejagnu-md5sum "053f18fd5d00873de365413cab17a666">
|
2005-03-26 08:05:37 +08:00
|
|
|
<!ENTITY dejagnu-size "1.08 MB">
|
2004-08-30 07:41:06 +08:00
|
|
|
<!ENTITY dejagnu-buildsize "8.5 MB">
|
|
|
|
<!ENTITY dejagnu-time ".04 SBU">
|
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="dejagnu" xreflabel="DejaGnu-&dejagnu-version;">
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
<?dbhtml filename="dejagnu.html"?>
|
|
|
|
<title>DejaGnu-&dejagnu-version;</title>
|
2005-01-30 02:54:41 +08:00
|
|
|
<indexterm zone="dejagnu">
|
|
|
|
<primary sortas="a-DejaGnu">DejaGnu</primary>
|
|
|
|
</indexterm>
|
2004-08-30 07:41:06 +08:00
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Introduction to <application>DejaGnu</application></title>
|
|
|
|
|
|
|
|
<para><application>DejaGnu</application> is a framework for running test suites
|
|
|
|
on <acronym>GNU</acronym> tools. It is written in <command>expect</command>,
|
|
|
|
which uses <application>Tcl</application> (Tool command language).</para>
|
|
|
|
|
|
|
|
<sect3><title>Package information</title>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem><para>Download (HTTP):
|
|
|
|
<ulink url="&dejagnu-download-http;"/></para></listitem>
|
|
|
|
<listitem><para>Download (FTP):
|
|
|
|
<ulink url="&dejagnu-download-ftp;"/></para></listitem>
|
2005-02-09 10:52:39 +08:00
|
|
|
<listitem><para>Download MD5 sum: &dejagnu-md5sum;</para></listitem>
|
2004-08-30 07:41:06 +08:00
|
|
|
<listitem><para>Download size: &dejagnu-size;</para></listitem>
|
2005-01-11 01:48:41 +08:00
|
|
|
<listitem><para>Estimated disk space required:
|
2004-08-30 07:41:06 +08:00
|
|
|
&dejagnu-buildsize;</para></listitem>
|
|
|
|
<listitem><para>Estimated build time:
|
|
|
|
&dejagnu-time;</para></listitem></itemizedlist>
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title><application>DejaGnu</application> dependencies</title>
|
|
|
|
<sect4><title>Required</title>
|
|
|
|
<para><xref linkend="expect"/></para>
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
<sect4><title>Optional</title>
|
|
|
|
<para><xref linkend="docbook-utils"/></para>
|
|
|
|
</sect4>
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of <application>DejaGnu</application></title>
|
|
|
|
|
2004-08-30 07:53:52 +08:00
|
|
|
<para>Install <application>DejaGnu</application> by running the following
|
|
|
|
commands:</para>
|
2004-08-30 07:41:06 +08:00
|
|
|
|
|
|
|
<screen><userinput><command>./configure --prefix=/usr &&
|
2005-01-30 02:54:41 +08:00
|
|
|
make</command></userinput></screen>
|
|
|
|
|
|
|
|
<para>Now, as the root user:</para>
|
|
|
|
|
|
|
|
<screen><userinput role='root'><command>make install &&
|
2004-08-30 07:41:06 +08:00
|
|
|
make install-doc</command></userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Contents</title>
|
|
|
|
|
2005-01-30 02:54:41 +08:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
2005-03-26 08:05:37 +08:00
|
|
|
<segtitle>Installed Libraries</segtitle>
|
2005-01-30 02:54:41 +08:00
|
|
|
<segtitle>Installed Scripts</segtitle>
|
|
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>runtest</seg>
|
2005-03-26 08:05:37 +08:00
|
|
|
<seg>None</seg>
|
2005-01-30 02:54:41 +08:00
|
|
|
<seg>There are numerous <application>Expect</application> scripts installed in
|
|
|
|
the <filename class='directory'>/usr/share/dejagnu</filename> hierarchy.</seg>
|
|
|
|
<seg>/usr/share/dejagnu</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
|
|
|
|
<varlistentry id="runtest">
|
|
|
|
<term><command>runtest</command></term>
|
|
|
|
<listitem><para>is the <application>DejaGnu</application> test driver program.
|
|
|
|
It is used to control what tests to run, and variations on how to run
|
|
|
|
them.</para>
|
|
|
|
<indexterm zone="dejagnu runtest">
|
|
|
|
<primary sortas="b-runtest">runtest</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
2004-08-30 07:41:06 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|