2004-08-30 07:41:06 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-08-30 07:41:06 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2011-01-06 01:33:32 +08:00
|
|
|
<!-- <!ENTITY dejagnu-download-http "http://freshmeat.net/redir/dejagnu/12564/url_tgz/dejagnu-&dejagnu-version;.tar.gz"> -->
|
|
|
|
<!ENTITY dejagnu-download-http " ">
|
2004-08-30 07:41:06 +08:00
|
|
|
<!ENTITY dejagnu-download-ftp "ftp://ftp.gnu.org/pub/gnu/dejagnu/dejagnu-&dejagnu-version;.tar.gz">
|
2011-11-09 03:45:29 +08:00
|
|
|
<!ENTITY dejagnu-md5sum "3df1cbca885e751e22d3ebd1ac64dc3c">
|
|
|
|
<!ENTITY dejagnu-size "568 KB">
|
|
|
|
<!ENTITY dejagnu-buildsize "4.5 MB">
|
|
|
|
<!ENTITY dejagnu-time "less than 0.1 SBU">
|
2004-08-30 07:41:06 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<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-08-10 00:47:27 +08:00
|
|
|
<para><application>DejaGnu</application> is a framework for running test
|
|
|
|
suites on GNU tools. It is written in <command>expect</command>, which
|
2011-11-09 03:45:29 +08:00
|
|
|
uses <application>Tcl</application> (Tool command language). It was installed
|
|
|
|
by LFS in the temprary /tools directory. These instructions install it
|
|
|
|
permanently.</para>
|
2005-05-05 03:20:54 +08:00
|
|
|
|
2012-05-28 04:18:32 +08:00
|
|
|
&lfs71_checked;
|
2010-09-26 10:31:37 +08:00
|
|
|
|
2005-05-05 03:20:54 +08:00
|
|
|
<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>
|
|
|
|
|
2006-03-19 23:51:39 +08:00
|
|
|
<bridgehead renderas="sect4">Required (Run-time Only)</bridgehead>
|
2005-12-03 03:19:41 +08:00
|
|
|
<para role="required"><xref linkend="expect"/></para>
|
2005-05-05 03:20:54 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2005-12-03 03:19:41 +08:00
|
|
|
<para role="optional"><xref linkend="docbook-utils"/></para>
|
2005-05-05 03:20:54 +08:00
|
|
|
|
2006-04-11 02:35:56 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/dejagnu"/></para>
|
|
|
|
|
2005-05-05 03:20:54 +08:00
|
|
|
</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>
|
|
|
|
|
2012-04-28 08:37:50 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr</userinput></screen>
|
2005-05-05 03:20:54 +08:00
|
|
|
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
2012-04-28 08:37:50 +08:00
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
2005-05-05 03:20:54 +08:00
|
|
|
|
2005-08-10 00:47:27 +08:00
|
|
|
<para>To test the installation, issue <command>make check</command> as
|
|
|
|
an unprivileged user.</para>
|
|
|
|
|
2005-05-05 03:20:54 +08:00
|
|
|
</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>
|