source: general/prog/check.xml@ dd9e0c3

systemd-13485
Last change on this file since dd9e0c3 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
RevLine 
[e4123d2]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
[07dd360]7 <!ENTITY check-download-http "&sourceforge-repo;/check/check-&check-version;.tar.gz">
[e4123d2]8 <!ENTITY check-download-ftp " ">
[8770a48]9 <!ENTITY check-md5sum "53c5e5c77d090e103a17f3ed7fd7d8b8">
10 <!ENTITY check-size "752 KB">
[2037ec4]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)">
[e4123d2]13]>
14
[07dd360]15<sect1 id="check" xreflabel="Check-&check-version;">
[e4123d2]16 <?dbhtml filename="check.html"?>
17
18 <sect1info>
[4949485e]19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
[e4123d2]21 </sect1info>
22
23 <title>Check-&check-version;</title>
24
25 <indexterm zone="check">
[07dd360]26 <primary sortas="a-Check">Check</primary>
[e4123d2]27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Check</title>
31
[07dd360]32 <para>
33 <application>Check</application> is a unit testing framework for C.
[6fcb1b9]34 It was installed by LFS in the temporary /tools directory. These
[07dd360]35 instructions install it permanently.
36 </para>
[e4123d2]37
[4c845f18]38 &lfs79_checked;
[e4123d2]39
[6d27308]40 &gcc6_checked;
41
[e4123d2]42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
[07dd360]45 <para>
46 Download (HTTP): <ulink url="&check-download-http;"/>
47 </para>
[e4123d2]48 </listitem>
49 <listitem>
[07dd360]50 <para>
51 Download (FTP): <ulink url="&check-download-ftp;"/>
52 </para>
[e4123d2]53 </listitem>
54 <listitem>
[07dd360]55 <para>
56 Download MD5 sum: &check-md5sum;
57 </para>
[e4123d2]58 </listitem>
59 <listitem>
[07dd360]60 <para>
61 Download size: &check-size;
62 </para>
[e4123d2]63 </listitem>
64 <listitem>
[07dd360]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>
[e4123d2]73 </listitem>
74 </itemizedlist>
75
76 <para condition="html" role="usernotes">User Notes:
[07dd360]77 <ulink url="&blfs-wiki;/check"/>
78 </para>
[e4123d2]79 </sect2>
80
81 <sect2 role="installation">
82 <title>Installation of Check</title>
83
[07dd360]84 <para>
85 Install <application>Check</application> by running the following
86 commands:
87 </para>
[e4123d2]88
[07dd360]89<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
[e4123d2]90make</userinput></screen>
91
[07dd360]92 <para>
[2037ec4]93 To test the installation, issue <command>make check</command>.
[07dd360]94 </para>
[e4123d2]95
[07dd360]96 <para>
97 Now, as the <systemitem class="username">root</systemitem> user:
98 </para>
[e4123d2]99
[24f2d4b]100<screen role="root"><userinput>make docdir=/usr/share/doc/check-&check-version; install</userinput></screen>
[e4123d2]101
102 </sect2>
103
[07dd360]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
[e4123d2]112 <sect2 role="content">
113 <title>Contents</title>
114
115 <segmentedlist>
[07dd360]116 <segtitle>Installed Program</segtitle>
117 <segtitle>Installed Library</segtitle>
118 <segtitle>Installed Directory</segtitle>
[e4123d2]119
120 <seglistitem>
[07dd360]121 <seg>
122 checkmk
123 </seg>
124 <seg>
125 libcheck.so
126 </seg>
127 <seg>
128 /usr/share/doc/check-&check-version;
129 </seg>
[e4123d2]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
[07dd360]138 <varlistentry id="checkmk">
139 <term><command>checkmk</command></term>
140 <listitem>
141 <para>
[4c845f18]142 is an <application>awk</application> script used for
[07dd360]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
[e4123d2]152 <varlistentry id="libcheck">
[07dd360]153 <term><filename class="libraryfile">libcheck.so</filename></term>
[e4123d2]154 <listitem>
[07dd360]155 <para>
156 contains the <application>Check</application> API functions.
157 </para>
[e4123d2]158 <indexterm zone="check libcheck">
[07dd360]159 <primary sortas="c-libcheck">libcheck.so</primary>
[e4123d2]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.