libcmocka - Lightweight library to simplify and generalize unit tests for C

Property Value
Distribution ALT Linux Sisyphus
Repository Classic i586
Package filename libcmocka-1.1.3-alt2.i586.rpm
Package name libcmocka
Package version 1.1.3
Package release alt2
Package architecture i586
Package type rpm
Category System/Libraries
Homepage -
License -
Maintainer -
Download size 65.46 KB
Installed size 65.46 KB
There are a variety of C unit testing frameworks available however many of them
are fairly complex and require the latest compiler technology. Some development
requires the use of old compilers which makes it difficult to use some unit
testing frameworks. In addition many unit testing frameworks assume the code
being tested is an application or module that is targeted to the same platform
that will ultimately execute the test. Because of this assumption many
frameworks require the inclusion of standard C library headers in the code
module being tested which may collide with the custom or incomplete
implementation of the C library utilized by the code under test.
CMocka only requires a test application is linked with the standard C library
which minimizes conflicts with standard C library headers. Also, CMocka tries
to avoid the use of some of the newer features of C compilers.
This results in CMocka being a relatively small library that can be used to
test a variety of exotic code. If a developer wishes to simply test an
application with the latest compiler then other unit testing frameworks may be
This is the successor of Google's Cmockery.


Package Version Architecture Repository
libcmocka-1.1.3-alt2.x86_64.rpm 1.1.3 x86_64 Classic
libcmocka - - -


Name Value - - - - - - - - -
rpmlib(PayloadIsLzma) -
rpmlib(SetVersions) -
rtld(GNU_HASH) -


Name Value
libcmocka = 1.1.3-alt2:sisyphus+226763.100.1.1 -


Type URL
Binary Package libcmocka-1.1.3-alt2.i586.rpm
Source Package cmocka-1.1.3-alt2.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] i586 classic
    rpm [Sisyphus] noarch classic
  2. Update the package index:
    # sudo apt-get update
  3. Install libcmocka rpm package:
    # sudo apt-get install libcmocka




2019-04-06 - Michael Shigorin <> 1.1.3-alt2
- introduce doc knob (on by default)
2019-03-21 - Evgeny Sinelnikov <> 1.1.3-alt1
- 1.1.3
2018-12-03 - Evgeny Sinelnikov <> 1.1.1-alt2
- Disable ubt macros due binary package identity changes
2017-04-10 - Evgeny Sinelnikov <> 1.1.1-alt1
- 1.1.1
- Build package with unified build tag aka ubt macros
2015-04-20 - Alexey Shabalin <> 1.0.1-alt1
- 1.0.1
2014-06-11 - Alexey Shabalin <> 0.4.1-alt1
- 0.4.1
2014-03-14 - Alexey Shabalin <> 0.3.2-alt3
- rename libcmocka-static to libcmocka-devel-static
- disable build static lib
2014-02-19 - Alexey Shabalin <> 0.3.2-alt2
- increased release for Obsoletes package from Autoimports/Sisyphus
2014-02-18 - Alexey Shabalin <> 0.3.2-alt1
- initial build

See Also

Package Description
libcmocka-devel-1.1.3-alt2.i586.rpm Development headers for the cmocka library
libcmpfit-1.2-alt1.i586.rpm Shared library of MPFIT (a MINPACK-1 Least Squares Fitting Library in C)
libcmpfit-devel-1.2-alt1.i586.rpm Development files of MPFIT (a MINPACK-1 Least Squares Fitting Library in C)
libcnc-1.0.100git-alt1.i586.rpm Intel(R) Concurrent Collections for C++
libcnc-devel-1.0.100git-alt1.i586.rpm Development files for libcnc
libcnotify-20130609-alt1.i586.rpm Library for cross-platform C notify functions
libcnotify-devel-20130609-alt1.i586.rpm Development files for libcnotify, a cross-platform C notify library
libcob-2.2-alt1.i586.rpm GnuCOBOL runtime library
libcodec2-0.8.1-alt1.i586.rpm libcodec2 is a library for the codec2 low bit rate speech codec
libcodec2-devel-0.8.1-alt1.i586.rpm codec2 development files
libcogl-1.22.4-alt1.i586.rpm A library for using 3D graphics hardware to draw pretty pictures
libcogl-devel-1.22.4-alt1.i586.rpm cogl development environment
libcogl-gir-1.22.4-alt1.i586.rpm GObject introspection data for the cogl
libcoin3d-3.1.3-alt10.i586.rpm Shared libraries of Coin3D
libcoin3d-devel-3.1.3-alt10.i586.rpm Development files for Coin3D