[ClusterLabs Developers] FYI: pacemaker switching to cmocka for unit tests
kgaillot at redhat.com
Wed Sep 15 17:11:40 EDT 2021
Pacemaker started adding unit tests using the glib test framework in
the 2.0.4 release.
After playing with it for a while, we decided to switch to cmocka,
which gives us the ability to mock system calls, and thus test more
functions. Thanks to Chris Lumens for researching and implementing the
This will generally not matter to anyone, but if you want to run "make
check", as of the next release (2.1.2) you will have to install the
cmocka development files (libcmocka-devel in rpm world and libcmocka-
dev in deb world).
Ken Gaillot <kgaillot at redhat.com>
More information about the Developers