[4f91edf] | 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 |
|
---|
[d8e47c5] | 8 | <sect1 id="ch-temp-system-check" role="wrap">
|
---|
[4f91edf] | 9 | <?dbhtml filename="check.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Check-&check-version;</title>
|
---|
| 12 |
|
---|
[d8e47c5] | 13 | <indexterm zone="ch-temp-system-check">
|
---|
[4f91edf] | 14 | <primary sortas="a-Check">Check</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>The Check package is a unit testing framework for C.</para>
|
---|
| 21 |
|
---|
| 22 | </sect2>
|
---|
| 23 |
|
---|
| 24 | <sect2 role="installation">
|
---|
| 25 | <title>Installation of Check</title>
|
---|
| 26 |
|
---|
| 27 | <para os="c">Prepare Check for compilation:</para>
|
---|
| 28 |
|
---|
[9597c5a] | 29 | <screen os="d"><userinput>./configure --prefix=/tools \
|
---|
[4f91edf] | 30 | --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
|
---|
| 31 |
|
---|
| 32 | <para os="f">Build the package:</para>
|
---|
| 33 |
|
---|
| 34 | <screen os="g"><userinput>make</userinput></screen>
|
---|
| 35 |
|
---|
| 36 | <para os="i">Install the package:</para>
|
---|
| 37 |
|
---|
| 38 | <screen os="j"><userinput>make install</userinput></screen>
|
---|
| 39 |
|
---|
| 40 | </sect2>
|
---|
| 41 |
|
---|
| 42 | <sect2 id="contents-check" role="content">
|
---|
| 43 | <title>Contents of Check</title>
|
---|
| 44 |
|
---|
| 45 | <segmentedlist>
|
---|
| 46 | <segtitle>Installed program</segtitle>
|
---|
| 47 | <segtitle>Installed library</segtitle>
|
---|
| 48 |
|
---|
| 49 | <seglistitem>
|
---|
| 50 | <seg>checkmk</seg>
|
---|
| 51 | <seg>libcheck.{a,so}</seg>
|
---|
| 52 | </seglistitem>
|
---|
| 53 | </segmentedlist>
|
---|
| 54 |
|
---|
| 55 | <variablelist>
|
---|
| 56 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 57 | <?dbfo list-presentation="list"?>
|
---|
| 58 | <?dbhtml list-presentation="table"?>
|
---|
| 59 |
|
---|
| 60 | <varlistentry id="checkmk">
|
---|
| 61 | <term><command>checkmk</command></term>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>Awk script for generating C unit tests for use with the C the
|
---|
| 64 | Check unit testing framework</para>
|
---|
[d8e47c5] | 65 | <indexterm zone="ch-temp-system-check checkmk">
|
---|
[4f91edf] | 66 | <primary sortas="b-check">checkmk</primary>
|
---|
| 67 | </indexterm>
|
---|
| 68 | </listitem>
|
---|
| 69 | </varlistentry>
|
---|
| 70 |
|
---|
| 71 | <varlistentry id="libcheck">
|
---|
| 72 | <term><filename class="libraryfile">libcheck.{a,so}</filename></term>
|
---|
| 73 | <listitem>
|
---|
| 74 | <para>Contains functions that allow Check to be called from a test
|
---|
| 75 | program</para>
|
---|
[d8e47c5] | 76 | <indexterm zone="ch-temp-system-check libcheck">
|
---|
[48a96e70] | 77 | <primary sortas="c-libcheck">libcheck.{a,so}</primary>
|
---|
[4f91edf] | 78 | </indexterm>
|
---|
| 79 | </listitem>
|
---|
| 80 | </varlistentry>
|
---|
| 81 |
|
---|
| 82 | </variablelist>
|
---|
| 83 |
|
---|
| 84 | </sect2>
|
---|
| 85 |
|
---|
| 86 | </sect1>
|
---|