Commit fc377363 authored by Rubin Gerritsen's avatar Rubin Gerritsen Committed by Alberto Escolar
Browse files

cocinelle: Parse ztest test functions



We want to able to use cocinelle on ztest functions as
well when transforming APIs.

Provide a simple macro so that test functions are recognized.

Signed-off-by: default avatarRubin Gerritsen <rubin.gerritsen@nordicsemi.no>
parent 6db48445
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -14,6 +14,8 @@

/* Zephyr macros */

#define ZTEST(suite, fn) static void _##suite##_##fn##_wrapper(void)

/* Attributes */

/* Confirmed problematic */