check.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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-system-check" role="wrap">
  8. <?dbhtml filename="check.html"?>
  9. <sect1info condition="script">
  10. <productname>check</productname>
  11. <productnumber>&check-version;</productnumber>
  12. <address>&check-url;</address>
  13. </sect1info>
  14. <title>Check-&check-version;</title>
  15. <indexterm zone="ch-system-check">
  16. <primary sortas="a-Check">Check</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>Check is a unit testing framework for C.</para>
  21. <segmentedlist>
  22. <segtitle>&buildtime;</segtitle>
  23. <segtitle>&diskspace;</segtitle>
  24. <seglistitem>
  25. <seg>&check-fin-sbu;</seg>
  26. <seg>&check-fin-du;</seg>
  27. </seglistitem>
  28. </segmentedlist>
  29. </sect2>
  30. <sect2 role="installation">
  31. <title>Installation of Check</title>
  32. <para>Prepare Check for compilation:</para>
  33. <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
  34. <para>Build the package:</para>
  35. <screen><userinput remap="make">make</userinput></screen>
  36. <para>Compilation is now complete. To run the Check test suite, issue the
  37. following command:</para>
  38. <screen><userinput remap="test">make check</userinput></screen>
  39. <para>Note that the Check test suite may take a relatively long
  40. (up to 4 SBU) time.</para>
  41. <para>Install the package:</para>
  42. <screen><userinput remap="install">make docdir=/usr/share/doc/check-&check-version; install</userinput></screen>
  43. </sect2>
  44. <sect2 id="contents-check" role="content">
  45. <title>Contents of Check</title>
  46. <segmentedlist>
  47. <segtitle>Installed program</segtitle>
  48. <segtitle>Installed library</segtitle>
  49. <seglistitem>
  50. <seg>checkmk</seg>
  51. <seg>libcheck.{a,so}</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="checkmk">
  59. <term><command>checkmk</command></term>
  60. <listitem>
  61. <para>Awk script for generating C unit tests for use with the Check
  62. unit testing framework</para>
  63. <indexterm zone="ch-system-check checkmk">
  64. <primary sortas="b-checmk">checkmk</primary>
  65. </indexterm>
  66. </listitem>
  67. </varlistentry>
  68. <varlistentry id="libcheck">
  69. <term><filename class="libraryfile">libcheck.{a,so}</filename></term>
  70. <listitem>
  71. <para>Contains functions that allow Check to be called from a test
  72. program</para>
  73. <indexterm zone="ch-system-check libcheck">
  74. <primary sortas="c-libcheck">libcheck</primary>
  75. </indexterm>
  76. </listitem>
  77. </varlistentry>
  78. </variablelist>
  79. </sect2>
  80. </sect1>