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