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

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 416772a was 48a96e70, checked in by Chris Staub <chris@…>, 11 years ago

Remove extra char

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