6.55. Check-0.14.0

#### Linux From Scratch - Version 9.1

### Chapter 6. Installing Basic System Software

- Prev

  Coreutils-8.31

- Next

  Diffutils-3.7

- Up
- Home

# 6.55. Check-0.14.0

Check is a unit testing framework for C.

Approximate build time: 0.1 SBU (about 3.5 SBU with tests)
Required disk space: 13 MB

## 6.55.1. Installation of Check

Prepare Check for compilation:

    ./configure --prefix=/usr

Build the package:

    make

Compilation is now complete. To run the Check test suite, issue the following command:

    make check

Note that the Check test suite may take a relatively long (up to 4 SBU) time.

Install the package and fix a script:

    make docdir=/usr/share/doc/check-0.14.0 install &&
    sed -i '1 s/tools/usr/' /usr/bin/checkmk

## 6.55.2. Contents of Check

Installed program: checkmk
Installed library: libcheck.{a,so}

### Short Descriptions

checkmk | Awk script for generating C unit tests for use with the Check unit testing framework
`libcheck.{a,so}` | Contains functions that allow Check to be called from a test program

- Prev

  Coreutils-8.31

- Next

  Diffutils-3.7

- Up
- Home