[eb091c9] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[eb091c9] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[5bd4ba6e] | 7 | <!-- <!ENTITY dejagnu-download-http "http://freshmeat.net/redir/dejagnu/12564/url_tgz/dejagnu-&dejagnu-version;.tar.gz"> -->
|
---|
| 8 | <!ENTITY dejagnu-download-http " ">
|
---|
[eb091c9] | 9 | <!ENTITY dejagnu-download-ftp "ftp://ftp.gnu.org/pub/gnu/dejagnu/dejagnu-&dejagnu-version;.tar.gz">
|
---|
[e4123d2] | 10 | <!ENTITY dejagnu-md5sum "3df1cbca885e751e22d3ebd1ac64dc3c">
|
---|
| 11 | <!ENTITY dejagnu-size "568 KB">
|
---|
| 12 | <!ENTITY dejagnu-buildsize "4.5 MB">
|
---|
| 13 | <!ENTITY dejagnu-time "less than 0.1 SBU">
|
---|
[eb091c9] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="dejagnu" xreflabel="DejaGnu-&dejagnu-version;">
|
---|
[d107c86] | 17 | <?dbhtml filename="dejagnu.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>DejaGnu-&dejagnu-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="dejagnu">
|
---|
| 27 | <primary sortas="a-DejaGnu">DejaGnu</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to DejaGnu</title>
|
---|
| 32 |
|
---|
[2958c1d] | 33 | <para><application>DejaGnu</application> is a framework for running test
|
---|
| 34 | suites on GNU tools. It is written in <command>expect</command>, which
|
---|
[e4123d2] | 35 | uses <application>Tcl</application> (Tool command language). It was installed
|
---|
| 36 | by LFS in the temprary /tools directory. These instructions install it
|
---|
| 37 | permanently.</para>
|
---|
[d107c86] | 38 |
|
---|
[e4123d2] | 39 | &lfs70_checked;
|
---|
[a8d3d55a] | 40 |
|
---|
[d107c86] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (HTTP): <ulink url="&dejagnu-download-http;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download (FTP): <ulink url="&dejagnu-download-ftp;"/></para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download MD5 sum: &dejagnu-md5sum;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Download size: &dejagnu-size;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated disk space required: &dejagnu-buildsize;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Estimated build time: &dejagnu-time;</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | </itemizedlist>
|
---|
| 62 |
|
---|
| 63 | <bridgehead renderas="sect3">DejaGnu Dependencies</bridgehead>
|
---|
| 64 |
|
---|
[e5254ec] | 65 | <bridgehead renderas="sect4">Required (Run-time Only)</bridgehead>
|
---|
[256ee72c] | 66 | <para role="required"><xref linkend="expect"/></para>
|
---|
[d107c86] | 67 |
|
---|
| 68 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[256ee72c] | 69 | <para role="optional"><xref linkend="docbook-utils"/></para>
|
---|
[d107c86] | 70 |
|
---|
[1039de3] | 71 | <para condition="html" role="usernotes">User Notes:
|
---|
| 72 | <ulink url="&blfs-wiki;/dejagnu"/></para>
|
---|
| 73 |
|
---|
[d107c86] | 74 | </sect2>
|
---|
| 75 |
|
---|
| 76 | <sect2 role="installation">
|
---|
| 77 | <title>Installation of DejaGnu</title>
|
---|
| 78 |
|
---|
[7cd76d62] | 79 | <para>Install <application>DejaGnu</application> by running the following
|
---|
[d107c86] | 80 | commands:</para>
|
---|
| 81 |
|
---|
| 82 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 83 | make</userinput></screen>
|
---|
| 84 |
|
---|
| 85 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 86 |
|
---|
| 87 | <screen role="root"><userinput>make install &&
|
---|
| 88 | make install-doc</userinput></screen>
|
---|
| 89 |
|
---|
[2958c1d] | 90 | <para>To test the installation, issue <command>make check</command> as
|
---|
| 91 | an unprivileged user.</para>
|
---|
| 92 |
|
---|
[d107c86] | 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2 role="content">
|
---|
| 96 | <title>Contents</title>
|
---|
| 97 |
|
---|
| 98 | <segmentedlist>
|
---|
| 99 | <segtitle>Installed Program</segtitle>
|
---|
| 100 | <segtitle>Installed Libraries</segtitle>
|
---|
| 101 | <segtitle>Installed Scripts</segtitle>
|
---|
| 102 | <segtitle>Installed Directory</segtitle>
|
---|
| 103 |
|
---|
| 104 | <seglistitem>
|
---|
| 105 | <seg>runtest</seg>
|
---|
| 106 | <seg>None</seg>
|
---|
[7cd76d62] | 107 | <seg>There are numerous <application>Expect</application> scripts installed in
|
---|
[d107c86] | 108 | the <filename class='directory'>/usr/share/dejagnu</filename> hierarchy.</seg>
|
---|
| 109 | <seg>/usr/share/dejagnu</seg>
|
---|
| 110 | </seglistitem>
|
---|
| 111 | </segmentedlist>
|
---|
| 112 |
|
---|
| 113 | <variablelist>
|
---|
| 114 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 115 | <?dbfo list-presentation="list"?>
|
---|
| 116 | <?dbhtml list-presentation="table"?>
|
---|
| 117 |
|
---|
| 118 | <varlistentry id="runtest">
|
---|
| 119 | <term><command>runtest</command></term>
|
---|
| 120 | <listitem>
|
---|
[7cd76d62] | 121 | <para>is the <application>DejaGnu</application> test driver program. It is
|
---|
[d107c86] | 122 | used to control what tests to run, and variations on how to run them.</para>
|
---|
| 123 | <indexterm zone="dejagnu runtest">
|
---|
| 124 | <primary sortas="b-runtest">runtest</primary>
|
---|
| 125 | </indexterm>
|
---|
| 126 | </listitem>
|
---|
| 127 | </varlistentry>
|
---|
| 128 |
|
---|
| 129 | </variablelist>
|
---|
| 130 |
|
---|
| 131 | </sect2>
|
---|
[eb091c9] | 132 |
|
---|
| 133 | </sect1>
|
---|