dejagnu.xml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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-tmp-sbu;</seg>
  28. <seg>&dejagnu-tmp-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} /usr/share/doc/dejagnu-&dejagnu-version;</userinput></screen>
  42. <para>To test the results, issue:</para>
  43. <screen><userinput remap="test">make check</userinput></screen>
  44. </sect2>
  45. <sect2 id="contents-dejagnu" role="content">
  46. <title>Contents of DejaGNU</title>
  47. <segmentedlist>
  48. <segtitle>Installed program</segtitle>
  49. <seglistitem>
  50. <seg>runtest</seg>
  51. </seglistitem>
  52. </segmentedlist>
  53. <variablelist>
  54. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  55. <?dbfo list-presentation="list"?>
  56. <?dbhtml list-presentation="table"?>
  57. <varlistentry id="runtest">
  58. <term><command>runtest</command></term>
  59. <listitem>
  60. <para>A wrapper script that locates the proper
  61. <command>expect</command> shell and then runs DejaGNU</para>
  62. <indexterm zone="ch-tools-dejagnu runtest">
  63. <primary sortas="b-runtest">runtest</primary>
  64. </indexterm>
  65. </listitem>
  66. </varlistentry>
  67. </variablelist>
  68. </sect2>
  69. </sect1>