Ignore:
Timestamp:
03/03/2013 04:59:09 PM (11 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
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
Children:
af373d35
Parents:
fdb847da
Message:

Minor cleanup and tweaks to Programming packages

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/dejagnu.xml

    rfdb847da rd3970e1  
    3131    <title>Introduction to DejaGnu</title>
    3232
    33     <para><application>DejaGnu</application> is a framework for running test
    34     suites on GNU tools. It is written in <command>expect</command>, which
    35     uses <application>Tcl</application> (Tool command language). It was installed
    36     by LFS in the temprary /tools directory.  These instructions install it
    37     permanently.</para>
     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>
    3840
    3941    &lfs72_checked;
     
    6466
    6567    <bridgehead renderas="sect4">Required (Run-time Only)</bridgehead>
    66     <para role="required"><xref linkend="expect"/></para>
     68    <para role="required">
     69      <xref linkend="expect"/>
     70    </para>
    6771
    6872    <bridgehead renderas="sect4">Optional</bridgehead>
    69     <para role="optional"><xref linkend="docbook-utils"/></para>
     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>
    7079
    7180    <para condition="html" role="usernotes">User Notes:
    72     <ulink url="&blfs-wiki;/dejagnu"/></para>
    73 
     81      <ulink url="&blfs-wiki;/dejagnu"/>
     82    </para>
    7483  </sect2>
    7584
     
    7786    <title>Installation of DejaGnu</title>
    7887
    79     <para>Install <application>DejaGnu</application> by running the following
    80     commands:</para>
     88    <para>
     89      Install <application>DejaGnu</application> by running the following
     90      commands:
     91    </para>
    8192
    82 <screen><userinput>./configure --prefix=/usr</userinput></screen>
     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>
    8396
    84     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     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>
    85106
    86 <screen role="root"><userinput>make install</userinput></screen>
     107    <para>
     108      To test the results, issue <command>make check</command>.
     109    </para>
    87110
    88     <para>To test the installation, issue <command>make check</command> as
    89     an unprivileged user.</para>
     111    <para>
     112      Now, as the <systemitem class="username">root</systemitem> user:
     113    </para>
    90114
     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>
    91119  </sect2>
    92120
     
    117145        <term><command>runtest</command></term>
    118146        <listitem>
    119           <para>is the <application>DejaGnu</application> test driver program. It is
    120           used to control what tests to run, and variations on how to run them.</para>
     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>
    121151          <indexterm zone="dejagnu runtest">
    122152            <primary sortas="b-runtest">runtest</primary>
Note: See TracChangeset for help on using the changeset viewer.