Closed fkjagodzinski closed 1 year ago
Marking this as a draft because the patch is missing docs update. :slightly_smiling_face:
Also, please let me know if this path is acceptable, then I'll update the relevant markdown files.
Hi. Thanks for the patch! I appreciate that you've matched the pattern of usage we have for other override-able options in the project. If you update the configuration docs with this, I'd say you have a great feature here. :)
I've updated the docs. I think the macro descriptions are OK, but my view is rather biased, so I'd appreciate any reviews. :wink:
Hi there. It's been a while so I took another look at the docs, and I'd say both the macro descriptions and the code snippets still make sense. @mvandervoord, could you review the PR when you get a chance?
This update covers use cases where:
longjmp
on a given platform is possible, but has a platform-specific (or implementation-specific) set of prerequisites, e.g. privileged access level. Which has been mentioned in https://github.com/ThrowTheSwitch/Unity/issues/616#issuecomment-1155219717.Enable project-specific customisation of
TEST_PROTECT
andTEST_ABORT
macros:UNITY_TEST_ABORT
if available; fall back to default behaviour otherwise.UNITY_TEST_PROTECT
if available; fall back to default behaviour otherwise.