Hey Scott, I am another cmocka user. The answer to your question (as I understand it) is no. You must declare each test and then add it to a list before you invoke cmocka.
For my projects, I have written some compiler specific macros that will do the registration for you, so it is possible to work around it.
Public From: Scott Willis firstname.lastname@example.org Sent: Tuesday, March 22, 2022 3:52 PM To: email@example.com Subject: Did not receive confirmation email
Trying to sign up; did not receive a confirmation email after several minutes now.
cmocka looks quite interesting! I'm with a company that is unfortunately locked into an older C standard, and I would love to have mocking available.
Haven't dug into cmocka yet; are tests and test suites self-registering?
Thank you, Scott Willis
[EXTERNAL EMAIL]: This message was generated from an external source. Do not follow guidance, click links, or open attachments unless you recognize the sender and know the content is safe.