dejagnu.xml 2.7 KB

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