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

clfs-3.0.0-sysvinit sysvinit
Last change on this file since f7f1caf was 227ae5a, checked in by Chris Staub <chris@…>, 11 years ago

Added more explanatory text about rationale for including packages in the temp-system

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