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