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