Closed flihp closed 8 years ago
Probably a good idea to provide a configure flag (--with-cmocka) to force a configure time failure if cmocka isn't installed too
This is a specific request from people who are annoyed by having to install the unit testing library when they're not running any of the tests. I'm not sure how I feel about this but "you've gotta give the people what they want" or something.
This library isn't critical to the proper operation of the TSS build. It's only required for testing. Thus we should detect the presence of libcmocka and enable the unit tests if it's available. If not the unit tests should be disabled.