source: general/prog/check.xml@ 6d27308

systemd-13485
Last change on this file since 6d27308 was 6d27308, checked in by Douglas R. Reno <renodr@…>, 8 years ago

GCC6 Tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@17356 af4574ff-66df-0310-9fd7-8a98e5e911e0

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