doc: expand ZTEST macros in doxygen

This will allow expansion of various ZTEST macros to display the actual
test function rather than the ZTEST macro itself.

Inspired by a change in #71402 by @gmarull.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2024-04-12 08:04:50 -04:00 committed by Fabio Baltieri
parent 12dc399c4d
commit 7f721bada2

View file

@ -2408,7 +2408,11 @@ PREDEFINED = __DOXYGEN__ \
__syscall= \ __syscall= \
__syscall_always_inline= \ __syscall_always_inline= \
__must_check= \ __must_check= \
"ATOMIC_DEFINE(x, y)=atomic_t x[ATOMIC_BITMAP_SIZE(y)]" "ATOMIC_DEFINE(x, y)=atomic_t x[ATOMIC_BITMAP_SIZE(y)]" \
"ZTEST(suite, fn)=void fn(void)" \
"ZTEST_USER(suite, fn)=void fn(void)" \
"ZTEST_USER_F(suite, fn)=void fn(void)" \
"ZTEST_F(suite, fn)=void fn(void)"
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
# tag can be used to specify a list of macro names that should be expanded. The # tag can be used to specify a list of macro names that should be expanded. The