source: chapter08/check.xml@ 76ef88ee

xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1
Last change on this file since 76ef88ee was 95efac6, checked in by Xi Ruoyao <xry111@…>, 13 months ago

loongarch: check: Update config.{guess,sub}

  • Property mode set to 100644
File size: 3.1 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-system-check" role="wrap">
9 <?dbhtml filename="check.html"?>
10
11 <sect1info condition="script">
12 <productname>check</productname>
13 <productnumber>&check-version;</productnumber>
14 <address>&check-url;</address>
15 </sect1info>
16
17 <title>Check-&check-version;</title>
18
19 <indexterm zone="ch-system-check">
20 <primary sortas="a-Check">Check</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>Check is a unit testing framework for C.</para>
27
28 <segmentedlist>
29 <segtitle>&buildtime;</segtitle>
30 <segtitle>&diskspace;</segtitle>
31
32 <seglistitem>
33 <seg>&check-fin-sbu;</seg>
34 <seg>&check-fin-du;</seg>
35 </seglistitem>
36 </segmentedlist>
37
38 </sect2>
39
40 <sect2 role="installation">
41 <title>Installation of Check</title>
42
43 &update-config-text;
44
45<screen><userinput remap="pre">tar &update-config-arg;</userinput></screen>
46
47 <para>Prepare Check for compilation:</para>
48
49<screen><userinput remap="configure">./configure --prefix=/usr --disable-static</userinput></screen>
50
51 <para>Build the package:</para>
52
53<screen><userinput remap="make">make</userinput></screen>
54
55 <para>Compilation is now complete. To run the Check test suite, issue the
56 following command:</para>
57
58<screen><userinput remap="test">make check</userinput></screen>
59
60<!-- <para>Note that the Check test suite may take a relatively long
61 (up to 4 SBU) time.</para>
62-->
63 <para>Install the package:</para>
64
65 <screen><userinput remap="install">make docdir=/usr/share/doc/check-&check-version; install</userinput></screen>
66
67 </sect2>
68
69 <sect2 id="contents-check" role="content">
70 <title>Contents of Check</title>
71
72 <segmentedlist>
73 <segtitle>Installed program</segtitle>
74 <segtitle>Installed library</segtitle>
75
76 <seglistitem>
77 <seg>checkmk</seg>
78 <seg>libcheck.so</seg>
79 </seglistitem>
80 </segmentedlist>
81
82 <variablelist>
83 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
84 <?dbfo list-presentation="list"?>
85 <?dbhtml list-presentation="table"?>
86
87 <varlistentry id="checkmk">
88 <term><command>checkmk</command></term>
89 <listitem>
90 <para>Awk script for generating C unit tests for use with the Check
91 unit testing framework</para>
92 <indexterm zone="ch-system-check checkmk">
93 <primary sortas="b-checmk">checkmk</primary>
94 </indexterm>
95 </listitem>
96 </varlistentry>
97
98 <varlistentry id="libcheck">
99 <term><filename class="libraryfile">libcheck.so</filename></term>
100 <listitem>
101 <para>Contains functions that allow Check to be called from a test
102 program</para>
103 <indexterm zone="ch-system-check libcheck">
104 <primary sortas="c-libcheck">libcheck</primary>
105 </indexterm>
106 </listitem>
107 </varlistentry>
108
109 </variablelist>
110
111 </sect2>
112
113</sect1>
Note: See TracBrowser for help on using the repository browser.