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

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since d5f948c was 1437142, checked in by William Harrington <kb0iic@…>, 11 years ago

Add PKG_CONFIG= in front of configure for hosts that have pkg-config installed and libsubunit.

  • Property mode set to 100644
File size: 2.4 KB
Line 
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
8<sect1 id="ch-testsuite-tools-check" role="wrap">
9 <?dbhtml filename="check.html"?>
10
11 <title>Check-&check-version;</title>
12
13 <indexterm zone="ch-testsuite-tools-check">
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
29<screen os="d"><userinput>PKG_CONFIG= ./configure --prefix=/tools \
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>
65 <indexterm zone="ch-testsuite-tools-check checkmk">
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>
76 <indexterm zone="ch-testsuite-tools-check libcheck">
77 <primary sortas="c-libcheck">libcheck.{a,so};</primary>
78 </indexterm>
79 </listitem>
80 </varlistentry>
81
82 </variablelist>
83
84 </sect2>
85
86</sect1>
Note: See TracBrowser for help on using the repository browser.