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