source: BOOK/temp-system/common/check.xml@ 7ddb05f

sysvinit
Last change on this file since 7ddb05f was b27081c4, checked in by Chris Staub <chris@…>, 9 years ago

Put one configure option per line

  • Property mode set to 100644
File size: 2.6 KB
RevLine 
[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
[227ae5a]27 <para os="a">We will install Check into
28 <filename class="directory">/tools</filename> to satisfy a dependency
29 on it for Kbd and Libpipeline in the final system.</para>
30
[4f91edf]31 <para os="c">Prepare Check for compilation:</para>
32
[b27081c4]33<screen os="d"><userinput>./configure \
34 --prefix=/tools \
35 --build=${CLFS_HOST} \
36 --host=${CLFS_TARGET}</userinput></screen>
[4f91edf]37
38 <para os="f">Build the package:</para>
39
40<screen os="g"><userinput>make</userinput></screen>
41
42 <para os="i">Install the package:</para>
43
44<screen os="j"><userinput>make install</userinput></screen>
45
46 </sect2>
47
48 <sect2 id="contents-check" role="content">
49 <title>Contents of Check</title>
50
51 <segmentedlist>
52 <segtitle>Installed program</segtitle>
53 <segtitle>Installed library</segtitle>
54
55 <seglistitem>
56 <seg>checkmk</seg>
57 <seg>libcheck.{a,so}</seg>
58 </seglistitem>
59 </segmentedlist>
60
61 <variablelist>
62 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
63 <?dbfo list-presentation="list"?>
64 <?dbhtml list-presentation="table"?>
65
66 <varlistentry id="checkmk">
67 <term><command>checkmk</command></term>
68 <listitem>
69 <para>Awk script for generating C unit tests for use with the C the
70 Check unit testing framework</para>
[d8e47c5]71 <indexterm zone="ch-temp-system-check checkmk">
[4f91edf]72 <primary sortas="b-check">checkmk</primary>
73 </indexterm>
74 </listitem>
75 </varlistentry>
76
77 <varlistentry id="libcheck">
78 <term><filename class="libraryfile">libcheck.{a,so}</filename></term>
79 <listitem>
80 <para>Contains functions that allow Check to be called from a test
81 program</para>
[d8e47c5]82 <indexterm zone="ch-temp-system-check libcheck">
[48a96e70]83 <primary sortas="c-libcheck">libcheck.{a,so}</primary>
[4f91edf]84 </indexterm>
85 </listitem>
86 </varlistentry>
87
88 </variablelist>
89
90 </sect2>
91
92</sect1>
Note: See TracBrowser for help on using the repository browser.