2004-08-30 07:41:06 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2005-04-04 04:52:42 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-08-30 07:41:06 +08:00
|
|
|
<!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;">
|
2005-05-05 03:20:54 +08:00
|
|
|
<?dbhtml filename="dejagnu.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>DejaGnu-&dejagnu-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="dejagnu">
|
|
|
|
<primary sortas="a-DejaGnu">DejaGnu</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to DejaGnu</title>
|
|
|
|
|
2005-05-31 05:38:32 +08:00
|
|
|
<para><application>DejaGnu</application> is a framework for running test suites
|
|
|
|
on GNU tools. It is written in <command>expect</command>,
|
2005-05-05 03:20:54 +08:00
|
|
|
which uses <application>Tcl</application> (Tool command language).</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<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>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &dejagnu-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &dejagnu-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &dejagnu-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &dejagnu-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">DejaGnu Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para><xref linkend="expect"/></para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para><xref linkend="docbook-utils"/></para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of DejaGnu</title>
|
|
|
|
|
2005-05-31 05:38:32 +08:00
|
|
|
<para>Install <application>DejaGnu</application> by running the following
|
2005-05-05 03:20:54 +08:00
|
|
|
commands:</para>
|
|
|
|
|
|
|
|
<screen><userinput>./configure --prefix=/usr &&
|
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>make install &&
|
|
|
|
make install-doc</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Scripts</segtitle>
|
|
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>runtest</seg>
|
|
|
|
<seg>None</seg>
|
2005-05-31 05:38:32 +08:00
|
|
|
<seg>There are numerous <application>Expect</application> scripts installed in
|
2005-05-05 03:20:54 +08:00
|
|
|
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"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="runtest">
|
|
|
|
<term><command>runtest</command></term>
|
|
|
|
<listitem>
|
2005-05-31 05:38:32 +08:00
|
|
|
<para>is the <application>DejaGnu</application> test driver program. It is
|
2005-05-05 03:20:54 +08:00
|
|
|
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>
|
|
|
|
|
|
|
|
</sect2>
|
2004-08-30 07:41:06 +08:00
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|