dejagnu.xml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?xml version="1.0" encoding="UTF-8"?>
  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 DejaGNU package contains a framework for testing other
  21. programs.</para-->
  22. <para>DejaGNU 软件包包含用于测试其他程序的框架。</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>安装 DejaGNU</title>
  34. <para>准备编译 DejaGNU:</para>
  35. <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
  36. <para>构建并安装该软件包:</para>
  37. <screen><userinput remap="install">make install</userinput></screen>
  38. <para>如果要测试该软件包,执行:</para>
  39. <screen><userinput remap="test">make check</userinput></screen>
  40. </sect2>
  41. <sect2 id="contents-dejagnu" role="content">
  42. <title>DejaGNU 的内容</title>
  43. <segmentedlist>
  44. <segtitle>安装的程序</segtitle>
  45. <seglistitem>
  46. <seg>runtest</seg>
  47. </seglistitem>
  48. </segmentedlist>
  49. <variablelist>
  50. <bridgehead renderas="sect3">简要描述</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>一个寻找正确的
  57. <command>expect</command> shell,
  58. 并运行 DejaGNU 的封装脚本。</para>
  59. <indexterm zone="ch-tools-dejagnu runtest">
  60. <primary sortas="b-runtest">runtest</primary>
  61. </indexterm>
  62. </listitem>
  63. </varlistentry>
  64. </variablelist>
  65. </sect2>
  66. </sect1>