dejagnu.xml 2.4 KB

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