source: archive/check.xml

trunk
Last change on this file was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 17 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 4.5 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 <!ENTITY check-download-http "https://github.com/libcheck/check/releases/download/&check-version;/check-&check-version;.tar.gz">
8 <!ENTITY check-download-ftp " ">
9 <!ENTITY check-md5sum "31b17c6075820a434119592941186f70">
10 <!ENTITY check-size "748 KB">
11 <!ENTITY check-buildsize "9.7 MB (add 1.2 MB for the tests)">
12 <!ENTITY check-time "0.1 SBU (add 3.6 SBU for the tests)">
13]>
14
15<sect1 id="check" xreflabel="Check-&check-version;">
16 <?dbhtml filename="check.html"?>
17
18
19 <title>Check-&check-version;</title>
20
21 <indexterm zone="check">
22 <primary sortas="a-Check">Check</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to Check</title>
27
28 <para>
29 <application>Check</application> is a unit testing framework for C.
30 It was installed by LFS in the temporary /tools directory. These
31 instructions install it permanently.
32 </para>
33
34 &lfs81_checked;
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&check-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&check-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &check-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &check-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &check-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &check-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <para condition="html" role="usernotes">User Notes:
71 <ulink url="&blfs-wiki;/check"/>
72 </para>
73 </sect2>
74
75 <sect2 role="installation">
76 <title>Installation of Check</title>
77
78 <para>
79 Install <application>Check</application> by running the following
80 commands:
81 </para>
82
83<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
84make</userinput></screen>
85
86<!-- Under LFS 8.1-rc2, the tests do not cause segfaults any longer. -->
87 <para>
88 To test the installation, issue <command>make check</command>.
89 <!-- Several tests cause segmentation faults that are harmless and can be
90 ignored. -->
91 </para>
92
93 <para>
94 Now, as the <systemitem class="username">root</systemitem> user:
95 </para>
96
97<screen role="root"><userinput>make docdir=/usr/share/doc/check-&check-version; install</userinput></screen>
98
99 </sect2>
100
101 <sect2 role="commands">
102 <title>Command Explanations</title>
103
104 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
105 href="../../xincludes/static-libraries.xml"/>
106
107 </sect2>
108
109 <sect2 role="content">
110 <title>Contents</title>
111
112 <segmentedlist>
113 <segtitle>Installed Program</segtitle>
114 <segtitle>Installed Library</segtitle>
115 <segtitle>Installed Directory</segtitle>
116
117 <seglistitem>
118 <seg>
119 checkmk
120 </seg>
121 <seg>
122 libcheck.so
123 </seg>
124 <seg>
125 /usr/share/doc/check-&check-version;
126 </seg>
127 </seglistitem>
128 </segmentedlist>
129
130 <variablelist>
131 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
132 <?dbfo list-presentation="list"?>
133 <?dbhtml list-presentation="table"?>
134
135 <varlistentry id="checkmk">
136 <term><command>checkmk</command></term>
137 <listitem>
138 <para>
139 is an <application>Awk</application> script used for
140 generating C unit tests for use with the
141 <application>Check</application> unit testing framework.
142 </para>
143 <indexterm zone="check checkmk">
144 <primary sortas="b-checkmk">checkmk</primary>
145 </indexterm>
146 </listitem>
147 </varlistentry>
148
149 <varlistentry id="libcheck">
150 <term><filename class="libraryfile">libcheck.so</filename></term>
151 <listitem>
152 <para>
153 contains the <application>Check</application> API functions.
154 </para>
155 <indexterm zone="check libcheck">
156 <primary sortas="c-libcheck">libcheck.so</primary>
157 </indexterm>
158 </listitem>
159 </varlistentry>
160
161 </variablelist>
162
163 </sect2>
164
165</sect1>
Note: See TracBrowser for help on using the repository browser.