mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 06:52:14 +08:00
3f2db3a638
They only contain a date tag that is nowhere used.
166 lines
4.5 KiB
XML
166 lines
4.5 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY check-download-http "https://github.com/libcheck/check/releases/download/&check-version;/check-&check-version;.tar.gz">
|
|
<!ENTITY check-download-ftp " ">
|
|
<!ENTITY check-md5sum "31b17c6075820a434119592941186f70">
|
|
<!ENTITY check-size "748 KB">
|
|
<!ENTITY check-buildsize "9.7 MB (add 1.2 MB for the tests)">
|
|
<!ENTITY check-time "0.1 SBU (add 3.6 SBU for the tests)">
|
|
]>
|
|
|
|
<sect1 id="check" xreflabel="Check-&check-version;">
|
|
<?dbhtml filename="check.html"?>
|
|
|
|
|
|
<title>Check-&check-version;</title>
|
|
|
|
<indexterm zone="check">
|
|
<primary sortas="a-Check">Check</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to Check</title>
|
|
|
|
<para>
|
|
<application>Check</application> is a unit testing framework for C.
|
|
It was installed by LFS in the temporary /tools directory. These
|
|
instructions install it permanently.
|
|
</para>
|
|
|
|
&lfs81_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&check-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&check-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &check-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &check-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &check-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &check-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/check"/>
|
|
</para>
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Check</title>
|
|
|
|
<para>
|
|
Install <application>Check</application> by running the following
|
|
commands:
|
|
</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr --disable-static &&
|
|
make</userinput></screen>
|
|
|
|
<!-- Under LFS 8.1-rc2, the tests do not cause segfaults any longer. -->
|
|
<para>
|
|
To test the installation, issue <command>make check</command>.
|
|
<!-- Several tests cause segmentation faults that are harmless and can be
|
|
ignored. -->
|
|
</para>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make docdir=/usr/share/doc/check-&check-version; install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
href="../../xincludes/static-libraries.xml"/>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Program</segtitle>
|
|
<segtitle>Installed Library</segtitle>
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
checkmk
|
|
</seg>
|
|
<seg>
|
|
libcheck.so
|
|
</seg>
|
|
<seg>
|
|
/usr/share/doc/check-&check-version;
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="checkmk">
|
|
<term><command>checkmk</command></term>
|
|
<listitem>
|
|
<para>
|
|
is an <application>Awk</application> script used for
|
|
generating C unit tests for use with the
|
|
<application>Check</application> unit testing framework.
|
|
</para>
|
|
<indexterm zone="check checkmk">
|
|
<primary sortas="b-checkmk">checkmk</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libcheck">
|
|
<term><filename class="libraryfile">libcheck.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contains the <application>Check</application> API functions.
|
|
</para>
|
|
<indexterm zone="check libcheck">
|
|
<primary sortas="c-libcheck">libcheck.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|