#3434 Add support for cmocka C-Unit Test framework
Closed: Fixed None Opened 11 years ago by sbose.

Currently there a some unit tests for C-code in FreeIPA which use the [check] framework. http://cmocka.cryptomilk.org/ cmocka has some more advanced features, mainly the support of mock objects which might be useful for testing FreeIPA's C-code.

The focus of this ticket is to add a configure check, make the corresponding variables available to the Makefiles and related tasks. No units tests should be converted or created with this ticket.


pkg-config is now used to detect cmocka:

master: 0fa42af[[BR]]
ipa-3-2: ce5d7de

Metadata Update from @sbose:
- Issue assigned to sbose
- Issue set to the milestone: FreeIPA 3.2 - 2013/03

7 years ago

Login to comment on this ticket.

Metadata