[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[b06ca36] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[673b0d8] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
[09fb7a09] | 7 |
|
---|
[81fd230] | 8 | <sect1 id="ch-tools-dejagnu" role="wrap">
|
---|
[09fb7a09] | 9 | <?dbhtml filename="dejagnu.html"?>
|
---|
| 10 |
|
---|
[e747759] | 11 | <sect1info condition="script">
|
---|
| 12 | <productname>dejagnu</productname>
|
---|
| 13 | <productnumber>&dejagnu-version;</productnumber>
|
---|
| 14 | <address>&dejagnu-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
[09fb7a09] | 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 |
|
---|
[630308d] | 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>
|
---|
[673b0d8] | 29 |
|
---|
[09fb7a09] | 30 | <segmentedlist>
|
---|
| 31 | <segtitle>&buildtime;</segtitle>
|
---|
| 32 | <segtitle>&diskspace;</segtitle>
|
---|
[bc82645e] | 33 |
|
---|
[09fb7a09] | 34 | <seglistitem>
|
---|
[e4a5635] | 35 | <seg>&dejagnu-ch5-sbu;</seg>
|
---|
| 36 | <seg>&dejagnu-ch5-du;</seg>
|
---|
[09fb7a09] | 37 | </seglistitem>
|
---|
| 38 | </segmentedlist>
|
---|
[5888299] | 39 |
|
---|
[09fb7a09] | 40 | </sect2>
|
---|
[73aedd1d] | 41 |
|
---|
[09fb7a09] | 42 | <sect2 role="installation">
|
---|
| 43 | <title>Installation of DejaGNU</title>
|
---|
| 44 |
|
---|
| 45 | <para>Prepare DejaGNU for compilation:</para>
|
---|
[73aedd1d] | 46 |
|
---|
[0445a3d] | 47 | <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
|
---|
[73aedd1d] | 48 |
|
---|
[09fb7a09] | 49 | <para>Build and install the package:</para>
|
---|
[73aedd1d] | 50 |
|
---|
[0445a3d] | 51 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
[73aedd1d] | 52 |
|
---|
[87c1917] | 53 | <para>To test the results, issue:</para>
|
---|
| 54 |
|
---|
| 55 | <screen><userinput remap="test">make check</userinput></screen>
|
---|
[0be3d41] | 56 |
|
---|
[09fb7a09] | 57 | </sect2>
|
---|
[bc82645e] | 58 |
|
---|
[81fd230] | 59 |
|
---|
[09fb7a09] | 60 | <sect2 id="contents-dejagnu" role="content">
|
---|
| 61 | <title>Contents of DejaGNU</title>
|
---|
[673b0d8] | 62 |
|
---|
[09fb7a09] | 63 | <segmentedlist>
|
---|
| 64 | <segtitle>Installed program</segtitle>
|
---|
[673b0d8] | 65 |
|
---|
[09fb7a09] | 66 | <seglistitem>
|
---|
| 67 | <seg>runtest</seg>
|
---|
| 68 | </seglistitem>
|
---|
| 69 | </segmentedlist>
|
---|
[81fd230] | 70 |
|
---|
[09fb7a09] | 71 | <variablelist>
|
---|
| 72 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 73 | <?dbfo list-presentation="list"?>
|
---|
| 74 | <?dbhtml list-presentation="table"?>
|
---|
[673b0d8] | 75 |
|
---|
[09fb7a09] | 76 | <varlistentry id="runtest">
|
---|
| 77 | <term><command>runtest</command></term>
|
---|
| 78 | <listitem>
|
---|
| 79 | <para>A wrapper script that locates the proper
|
---|
| 80 | <command>expect</command> shell and then runs DejaGNU</para>
|
---|
| 81 | <indexterm zone="ch-tools-dejagnu runtest">
|
---|
| 82 | <primary sortas="b-runtest">runtest</primary>
|
---|
| 83 | </indexterm>
|
---|
| 84 | </listitem>
|
---|
| 85 | </varlistentry>
|
---|
[673b0d8] | 86 |
|
---|
[09fb7a09] | 87 | </variablelist>
|
---|
[81fd230] | 88 |
|
---|
[09fb7a09] | 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | </sect1>
|
---|