ccollins476ad opened a new pull request #1678: test/testutil: Simplify API URL: https://github.com/apache/mynewt-core/pull/1678 ### Notes * This a compatibility breaking change to the testutil API. Initially, I was just going to deprecate the old API, but keep it in the codebase for one more release. Frankly, I think this is way more effort than it is worth. I doubt any packages outside of mynewt-core are using testutil at all. If this is overreaching, I can deprecate the old API properly. * If you look at all the commits at once, this PR will seem insane. I would focus on the `test/testutil` commit (`2766a47`). All the other changes just convert clients to the new API and cleanup existing unit tests. ### Description This a compatibility breaking change to the testutil API. Simplify the `testutil` API as follows: 1. Add the `TEST_CASE_SELF()` macro. This macro creates a test case suitable for a self test (runnable via `newt test`). These test cases call `sysinit()` automatically when they start. 2. Removing several callbacks from the testutil configuration. These changes are described in more detail in this email: https://lists.apache.org/thread.html/ec5d5ac556b1b955a60efac05b673e729fbf89bdb4675a1e34a1063a@%3Cdev.mynewt.apache.org%3E
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
