source: general/prog/dejagnu.xml@ d3970e1

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since d3970e1 was d3970e1, checked in by Randy McMurchy <randy@…>, 11 years ago

Minor cleanup and tweaks to Programming packages

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11050 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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-http " ">
9 <!ENTITY dejagnu-download-ftp "ftp://ftp.gnu.org/pub/gnu/dejagnu/dejagnu-&dejagnu-version;.tar.gz">
10 <!ENTITY dejagnu-md5sum "3df1cbca885e751e22d3ebd1ac64dc3c">
11 <!ENTITY dejagnu-size "568 KB">
12 <!ENTITY dejagnu-buildsize "4.5 MB">
13 <!ENTITY dejagnu-time "less than 0.1 SBU">
14]>
15
16<sect1 id="dejagnu" xreflabel="DejaGnu-&dejagnu-version;">
17 <?dbhtml filename="dejagnu.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>DejaGnu-&dejagnu-version;</title>
25
26 <indexterm zone="dejagnu">
27 <primary sortas="a-DejaGnu">DejaGnu</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to DejaGnu</title>
32
33 <para>
34 <application>DejaGnu</application> is a framework for running test
35 suites on GNU tools. It is written in <command>expect</command>, which
36 uses <application>Tcl</application> (Tool command language). It was installed
37 by LFS in the temporary <filename class="directory">/tools</filename>
38 directory. These instructions install it permanently.
39 </para>
40
41 &lfs72_checked;
42
43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>Download (HTTP): <ulink url="&dejagnu-download-http;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download (FTP): <ulink url="&dejagnu-download-ftp;"/></para>
50 </listitem>
51 <listitem>
52 <para>Download MD5 sum: &dejagnu-md5sum;</para>
53 </listitem>
54 <listitem>
55 <para>Download size: &dejagnu-size;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated disk space required: &dejagnu-buildsize;</para>
59 </listitem>
60 <listitem>
61 <para>Estimated build time: &dejagnu-time;</para>
62 </listitem>
63 </itemizedlist>
64
65 <bridgehead renderas="sect3">DejaGnu Dependencies</bridgehead>
66
67 <bridgehead renderas="sect4">Required (Run-time Only)</bridgehead>
68 <para role="required">
69 <xref linkend="expect"/>
70 </para>
71
72 <bridgehead renderas="sect4">Optional</bridgehead>
73 <para role="optional">
74 <xref linkend="docbook-utils"/> and
75 <ulink url="http://sourceforge.net/projects/docbook2x/">docbook2X</ulink>
76 (both looked for by the <command>configure</command> script but not used
77 in the build)
78 </para>
79
80 <para condition="html" role="usernotes">User Notes:
81 <ulink url="&blfs-wiki;/dejagnu"/>
82 </para>
83 </sect2>
84
85 <sect2 role="installation">
86 <title>Installation of DejaGnu</title>
87
88 <para>
89 Install <application>DejaGnu</application> by running the following
90 commands:
91 </para>
92
93<screen><userinput>./configure --prefix=/usr &amp;&amp;
94makeinfo --html --no-split -o doc/dejagnu.html doc/dejagnu.texi &amp;&amp;
95makeinfo --plaintext -o doc/dejagnu.txt doc/dejagnu.texi</userinput></screen>
96
97 <para>
98 HTML and text documentation was created in the previous step. There
99 are different ways to create additional forms of documentation, if desired.
100 If you have <xref linkend="texlive"/> installed, create PDF and Postscript
101 docs in the <filename class="directory">doc</filename> directory by issuing
102 <command>make pdf ps</command>. If you have <xref linkend="docbook-utils"/>
103 installed, create PDF and Postscript docs in the top-level directory
104 by issuing <command>make dejagnu.{pdf,ps}</command>.
105 </para>
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 &amp;&amp;
116install -v -m755 -d /usr/share/doc/dejagnu-&dejagnu-version; &amp;&amp;
117install -v -m644 doc/dejagnu.{html,txt} \
118 /usr/share/doc/dejagnu-&dejagnu-version;</userinput></screen>
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 Scripts</segtitle>
128 <segtitle>Installed Directory</segtitle>
129
130 <seglistitem>
131 <seg>runtest</seg>
132 <seg>None</seg>
133 <seg>There are numerous <application>Expect</application> scripts installed in
134 the <filename class='directory'>/usr/share/dejagnu</filename> hierarchy.</seg>
135 <seg>/usr/share/dejagnu</seg>
136 </seglistitem>
137 </segmentedlist>
138
139 <variablelist>
140 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
141 <?dbfo list-presentation="list"?>
142 <?dbhtml list-presentation="table"?>
143
144 <varlistentry id="runtest">
145 <term><command>runtest</command></term>
146 <listitem>
147 <para>
148 is the <application>DejaGnu</application> test driver program. It is
149 used to control what tests to run, and variations on how to run them.
150 </para>
151 <indexterm zone="dejagnu runtest">
152 <primary sortas="b-runtest">runtest</primary>
153 </indexterm>
154 </listitem>
155 </varlistentry>
156
157 </variablelist>
158
159 </sect2>
160
161</sect1>
Note: See TracBrowser for help on using the repository browser.