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

Property Value
Distribution Fedora 28
Repository Fedora Updates i386
Package filename libcmocka-1.1.3-1.fc28.i686.rpm
Package name libcmocka
Package version 1.1.3
Package release 1.fc28
Package architecture i686
Package type rpm
License ASL 2.0
Maintainer -
Download size 39.11 KB
Installed size 63.28 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-1.fc28.i686.rpm 1.1.3 i686 Fedora Updates
libcmocka-1.1.3-1.fc28.x86_64.rpm 1.1.3 x86_64 Fedora Updates
libcmocka-1.1.1-8.fc28.i686.rpm 1.1.1 i686 Fedora
libcmocka-1.1.1-8.fc28.i686.rpm 1.1.1 i686 Fedora
libcmocka-1.1.1-8.fc28.x86_64.rpm 1.1.1 x86_64 Fedora
libcmocka - - -


Name Value
/sbin/ldconfig - - - - - -
rtld(GNU_HASH) -


Name Value
libcmocka = 1.1.3-1.fc28
libcmocka(x86-32) = 1.1.3-1.fc28 -


Name Value
cmockery2 -


Type URL
Binary Package libcmocka-1.1.3-1.fc28.i686.rpm
Source Package cmocka-1.1.3-1.fc28.src.rpm

Install Howto

Install libcmocka rpm package:

# dnf install libcmocka




2018-09-27 - Andreas Schneider <> - 1.1.3-1
- Update to version 1.1.3
2018-08-29 - Andreas Schneider <> - 1.1.2-1
- Update to version 1.1.2
2018-02-07 - Fedora Release Engineering <> - 1.1.1-8
- Rebuilt for
2017-08-02 - Fedora Release Engineering <> - 1.1.1-7
- Rebuilt for
2017-07-26 - Fedora Release Engineering <> - 1.1.1-6
- Rebuilt for
2017-03-28 - Than Ngo <> - 1.1.0-5
- added workaround for gcc7 bug on ppc64le temporary
2017-02-10 - Fedora Release Engineering <> - 1.1.0-4
- Rebuilt for
2016-09-21 - Jakub Hrozek <> - 1.1.0-1
- Update to version 1.1.0
* Added support to catch multiple exceptions
* Added support to verify call ordering
* Added support to pass initial data to test cases
* Added will_return_maybe() for ignoring mock returns
* Added subtests for groups using TAP output
* Added support to write multiple XML files for groups
* Improved documentation
* Fixed XML output generataion
* Fixed Windows builds with VS2015
2016-02-03 - Fedora Release Engineering <> - 1.0.1-3
- Rebuilt for
2015-06-17 - Fedora Release Engineering <> - 1.0.1-2
- Rebuilt for

See Also

Package Description
libcmocka-devel-1.1.3-1.fc28.i686.rpm Development headers for the cmocka library
libcmocka-static-1.1.3-1.fc28.i686.rpm Lightweight library to simplify and generalize unit tests for C
libcollectdclient-5.8.1-1.fc28.i686.rpm Collectd client library
libcollectdclient-devel-5.8.1-1.fc28.i686.rpm Development files for libcollectdclient
libcom_err-1.44.2-0.fc28.i686.rpm Common error description library
libcom_err-devel-1.44.2-0.fc28.i686.rpm Common error description library
libconfuse-3.2.2-1.fc28.i686.rpm A configuration file parser library
libconfuse-devel-3.2.2-1.fc28.i686.rpm Development files for libconfuse
libcouchbase-2.10.3-1.fc28.i686.rpm Client and protocol library for the Couchbase project
libcouchbase-devel-2.10.3-1.fc28.i686.rpm Couchbase client library - Header files
libcouchbase-libev-2.10.3-1.fc28.i686.rpm Couchbase client library - libev IO back-end
libcouchbase-libevent-2.10.3-1.fc28.i686.rpm Couchbase client library - libevent IO back-end
libcouchbase-libuv-2.10.3-1.fc28.i686.rpm Couchbase client library - libuv IO back-end
libcouchbase-tools-2.10.3-1.fc28.i686.rpm Couchbase client tools
libcurl-7.59.0-10.fc28.i686.rpm A library for getting files from web servers