[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 |
|
---|
[d6da5da] | 7 | <!ENTITY dejagnu-download-http "http://ftp.gnu.org/pub/gnu/dejagnu/dejagnu-&dejagnu-version;.tar.gz">
|
---|
[eb091c9] | 8 | <!ENTITY dejagnu-download-ftp "ftp://ftp.gnu.org/pub/gnu/dejagnu/dejagnu-&dejagnu-version;.tar.gz">
|
---|
[d6da5da] | 9 | <!ENTITY dejagnu-md5sum "8386e04e362345f50ad169f052f4c4ab">
|
---|
[e4123d2] | 10 | <!ENTITY dejagnu-size "568 KB">
|
---|
[d6da5da] | 11 | <!ENTITY dejagnu-buildsize "5.0 MB">
|
---|
[e4123d2] | 12 | <!ENTITY dejagnu-time "less than 0.1 SBU">
|
---|
[eb091c9] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="dejagnu" xreflabel="DejaGnu-&dejagnu-version;">
|
---|
[d107c86] | 16 | <?dbhtml filename="dejagnu.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>DejaGnu-&dejagnu-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="dejagnu">
|
---|
| 26 | <primary sortas="a-DejaGnu">DejaGnu</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to DejaGnu</title>
|
---|
| 31 |
|
---|
[d3970e1] | 32 | <para>
|
---|
| 33 | <application>DejaGnu</application> is a framework for running test
|
---|
| 34 | suites on GNU tools. It is written in <command>expect</command>, which
|
---|
| 35 | uses <application>Tcl</application> (Tool command language). It was installed
|
---|
| 36 | by LFS in the temporary <filename class="directory">/tools</filename>
|
---|
[d6da5da] | 37 | directory. These instructions install it permanently.
|
---|
[d3970e1] | 38 | </para>
|
---|
[d107c86] | 39 |
|
---|
[dc6ba1c0] | 40 | &lfs74_checked;
|
---|
[a8d3d55a] | 41 |
|
---|
[d107c86] | 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
[d6da5da] | 45 | <para>
|
---|
| 46 | Download (HTTP): <ulink url="&dejagnu-download-http;"/>
|
---|
| 47 | </para>
|
---|
[d107c86] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[d6da5da] | 50 | <para>
|
---|
| 51 | Download (FTP): <ulink url="&dejagnu-download-ftp;"/>
|
---|
| 52 | </para>
|
---|
[d107c86] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[d6da5da] | 55 | <para>
|
---|
| 56 | Download MD5 sum: &dejagnu-md5sum;
|
---|
| 57 | </para>
|
---|
[d107c86] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[d6da5da] | 60 | <para>
|
---|
| 61 | Download size: &dejagnu-size;
|
---|
| 62 | </para>
|
---|
[d107c86] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[d6da5da] | 65 | <para>
|
---|
| 66 | Estimated disk space required: &dejagnu-buildsize;
|
---|
| 67 | </para>
|
---|
[d107c86] | 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
[d6da5da] | 70 | <para>
|
---|
| 71 | Estimated build time: &dejagnu-time;
|
---|
| 72 | </para>
|
---|
[d107c86] | 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect3">DejaGnu Dependencies</bridgehead>
|
---|
| 77 |
|
---|
[e5254ec] | 78 | <bridgehead renderas="sect4">Required (Run-time Only)</bridgehead>
|
---|
[d3970e1] | 79 | <para role="required">
|
---|
| 80 | <xref linkend="expect"/>
|
---|
| 81 | </para>
|
---|
[d107c86] | 82 |
|
---|
| 83 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[d3970e1] | 84 | <para role="optional">
|
---|
| 85 | <xref linkend="docbook-utils"/> and
|
---|
| 86 | <ulink url="http://sourceforge.net/projects/docbook2x/">docbook2X</ulink>
|
---|
| 87 | (both looked for by the <command>configure</command> script but not used
|
---|
| 88 | in the build)
|
---|
| 89 | </para>
|
---|
[d107c86] | 90 |
|
---|
[1039de3] | 91 | <para condition="html" role="usernotes">User Notes:
|
---|
[d3970e1] | 92 | <ulink url="&blfs-wiki;/dejagnu"/>
|
---|
| 93 | </para>
|
---|
[d107c86] | 94 | </sect2>
|
---|
| 95 |
|
---|
| 96 | <sect2 role="installation">
|
---|
| 97 | <title>Installation of DejaGnu</title>
|
---|
| 98 |
|
---|
[d3970e1] | 99 | <para>
|
---|
| 100 | Install <application>DejaGnu</application> by running the following
|
---|
| 101 | commands:
|
---|
| 102 | </para>
|
---|
| 103 |
|
---|
| 104 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 105 | makeinfo --html --no-split -o doc/dejagnu.html doc/dejagnu.texi &&
|
---|
| 106 | makeinfo --plaintext -o doc/dejagnu.txt doc/dejagnu.texi</userinput></screen>
|
---|
| 107 |
|
---|
| 108 | <para>
|
---|
| 109 | To test the results, issue <command>make check</command>.
|
---|
| 110 | </para>
|
---|
| 111 |
|
---|
| 112 | <para>
|
---|
| 113 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 114 | </para>
|
---|
| 115 |
|
---|
| 116 | <screen role="root"><userinput>make install &&
|
---|
[d6da5da] | 117 | install -v -dm755 /usr/share/doc/dejagnu-&dejagnu-version; &&
|
---|
[d3970e1] | 118 | install -v -m644 doc/dejagnu.{html,txt} \
|
---|
| 119 | /usr/share/doc/dejagnu-&dejagnu-version;</userinput></screen>
|
---|
[d107c86] | 120 | </sect2>
|
---|
| 121 |
|
---|
| 122 | <sect2 role="content">
|
---|
| 123 | <title>Contents</title>
|
---|
| 124 |
|
---|
| 125 | <segmentedlist>
|
---|
| 126 | <segtitle>Installed Program</segtitle>
|
---|
| 127 | <segtitle>Installed Libraries</segtitle>
|
---|
| 128 | <segtitle>Installed Directory</segtitle>
|
---|
| 129 |
|
---|
| 130 | <seglistitem>
|
---|
[d6da5da] | 131 | <seg>
|
---|
| 132 | runtest
|
---|
| 133 | </seg>
|
---|
| 134 | <seg>
|
---|
| 135 | None
|
---|
| 136 | </seg>
|
---|
| 137 | <seg>
|
---|
| 138 | /usr/share/dejagnu
|
---|
| 139 | </seg>
|
---|
[d107c86] | 140 | </seglistitem>
|
---|
| 141 | </segmentedlist>
|
---|
| 142 |
|
---|
| 143 | <variablelist>
|
---|
| 144 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 145 | <?dbfo list-presentation="list"?>
|
---|
| 146 | <?dbhtml list-presentation="table"?>
|
---|
| 147 |
|
---|
| 148 | <varlistentry id="runtest">
|
---|
| 149 | <term><command>runtest</command></term>
|
---|
| 150 | <listitem>
|
---|
[d3970e1] | 151 | <para>
|
---|
| 152 | is the <application>DejaGnu</application> test driver program. It is
|
---|
| 153 | used to control what tests to run, and variations on how to run them.
|
---|
| 154 | </para>
|
---|
[d107c86] | 155 | <indexterm zone="dejagnu runtest">
|
---|
| 156 | <primary sortas="b-runtest">runtest</primary>
|
---|
| 157 | </indexterm>
|
---|
| 158 | </listitem>
|
---|
| 159 | </varlistentry>
|
---|
| 160 |
|
---|
| 161 | </variablelist>
|
---|
| 162 |
|
---|
| 163 | </sect2>
|
---|
[eb091c9] | 164 |
|
---|
| 165 | </sect1>
|
---|