How to Install and Uninstall api-sanity-checker Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 23,2024

1. Install "api-sanity-checker" package

In this section, we are going to explain the necessary steps to install api-sanity-checker on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install api-sanity-checker

2. Uninstall "api-sanity-checker" package

Learn how to uninstall api-sanity-checker on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove api-sanity-checker $ sudo apt autoclean && sudo apt autoremove

3. Information about the api-sanity-checker package on Ubuntu 21.04 (Hirsute Hippo)

Package: api-sanity-checker
Architecture: all
Version: 1.98.7-2
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Mathieu Malaterre
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 660
Depends: abi-compliance-checker (>= 1.99), perl:any
Suggests: doc-base
Filename: pool/universe/a/api-sanity-checker/api-sanity-checker_1.98.7-2_all.deb
Size: 97418
MD5sum: 380c2ddf3805723d235a2435ad02e300
SHA1: 14dc9b990b43da23f03e80c1dada944a17d1369b
SHA256: 57af0f2325f9e67d048d01d731f3aedfecfb81bd378d2cd00dc9c93178c9838b
SHA512: f273fb1a787833a65690c6534ec6ad7c3b9142e31498659cf9ae397d298a58a0f591543a89b78a7ec8964615948dd41f12c5eb96ab1c5eec878648367b58f1a6
Homepage: https://github.com/lvc/api-sanity-checker
Description-en: automatic generator of basic unit tests for a C/C++ library API
API Sanity Checker is an automatic generator of basic unit tests for a C/C++
library. It helps to quickly generate simple ("sanity" or "shallow" quality)
tests for every function in an API using their signatures, data type
definitions and relationships between functions straight from the library
header files ("Header-Driven Generation"). Each test case contains a function
call with reasonable (in most, but unfortunately not all, cases) input
parameters. The quality of generated tests allows one to check absence of
critical errors in simple use cases and can be greatly improved by involving of
highly reusable specialized types for the library.
.
The tool can execute generated tests and detect crashes, aborts, all kinds of
emitted signals, non-zero program return code, program hang‐ ing and
requirement failures (if specified). The tool can be considered as a tool for
out-of-box low-cost sanity checking of library API or as a test development
framework for initial generation of templates for advanced tests. Also it
supports universal Template2Code format of tests, splint specifications, random
test generation mode and other useful features.
Description-md5: 0311b8cd7c1a26bce0b65ed7ee60c532