lib: tests: Add test suite init function
Allow to define an init function for the test suite. It could help us to initialize global variable once, and use them in multiple test cases after the initialization. For instance, if multiple test cases use the same atomic_t var, it could be helpful to call ATOMIC_INIT once during the suite initialization. Signed-off-by:Ivan Orlov <ivan.orlov0322@gmail.com> Reviewed-by:
Anup Patel <anup@brainfault.org>
parent
d4d2582e
Please register or sign in to comment