source: chapter08/dejagnu.xml@ 6dfcfecc

ml-11.0 multilib
Last change on this file since 6dfcfecc was 6dfcfecc, checked in by Xℹ Ruoyao <xry111@…>, 3 years ago

Update to new lfs structure

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11986 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.7 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
8<sect1 id="ch-tools-dejagnu" role="wrap">
9 <?dbhtml filename="dejagnu.html"?>
10
11 <sect1info condition="script">
12 <productname>dejagnu</productname>
13 <productnumber>&dejagnu-version;</productnumber>
14 <address>&dejagnu-url;</address>
15 </sect1info>
16
17 <title>DejaGNU-&dejagnu-version;</title>
18
19 <indexterm zone="ch-tools-dejagnu">
20 <primary sortas="a-DejaGNU">DejaGNU</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The <application>DejaGnu</application> package contains a framework for running test
27 suites on GNU tools. It is written in <command>expect</command>, which itself
28 uses <application>Tcl</application> (Tool Command Language).</para>
29
30 <segmentedlist>
31 <segtitle>&buildtime;</segtitle>
32 <segtitle>&diskspace;</segtitle>
33
34 <seglistitem>
35 <seg>&dejagnu-tmp-sbu;</seg>
36 <seg>&dejagnu-tmp-du;</seg>
37 </seglistitem>
38 </segmentedlist>
39
40 </sect2>
41
42 <sect2 role="installation">
43 <title>Installation of DejaGNU</title>
44
45 <para>Prepare DejaGNU for compilation:</para>
46
47<screen><userinput remap="configure">./configure --prefix=/usr
48makeinfo --html --no-split -o doc/dejagnu.html doc/dejagnu.texi
49makeinfo --plaintext -o doc/dejagnu.txt doc/dejagnu.texi</userinput></screen>
50
51 <para>Build and install the package:</para>
52
53<screen><userinput remap="install">make install
54install -v -dm755 /usr/share/doc/dejagnu-&dejagnu-version;
55install -v -m644 doc/dejagnu.{html,txt} /usr/share/doc/dejagnu-&dejagnu-version;</userinput></screen>
56
57 <para>To test the results, issue:</para>
58
59<screen><userinput remap="test">make check</userinput></screen>
60
61 </sect2>
62
63
64 <sect2 id="contents-dejagnu" role="content">
65 <title>Contents of DejaGNU</title>
66
67 <segmentedlist>
68 <segtitle>Installed program</segtitle>
69
70 <seglistitem>
71 <seg>runtest</seg>
72 </seglistitem>
73 </segmentedlist>
74
75 <variablelist>
76 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
77 <?dbfo list-presentation="list"?>
78 <?dbhtml list-presentation="table"?>
79
80 <varlistentry id="runtest">
81 <term><command>runtest</command></term>
82 <listitem>
83 <para>A wrapper script that locates the proper
84 <command>expect</command> shell and then runs DejaGNU</para>
85 <indexterm zone="ch-tools-dejagnu runtest">
86 <primary sortas="b-runtest">runtest</primary>
87 </indexterm>
88 </listitem>
89 </varlistentry>
90
91 </variablelist>
92
93 </sect2>
94
95</sect1>
Note: See TracBrowser for help on using the repository browser.