RTEMS | Draft: Feature/stack reporter config (!86)

Joel Sherrill (@joel) gitlab at rtems.org
Sat Jul 6 21:16:42 UTC 2024




Joel Sherrill commented on a discussion on testsuites/libtests/stackchk03/init.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/86#note_108775

 > +#ifdef HAVE_CONFIG_H
 > +#include "config.h"
 > +#endif
 > +
 > +#define CONFIGURE_INIT
 > +
 > +#include <tmacros.h>
 > +
 > +const char rtems_test_name[] = "STACKCHK03";
 > +
 > +/**
 > + * Configure the stack checker to use the custom reporting function 
 > + */
 > +#define CONFIGURE_STACK_CHECKER_ENABLED
 > +
 > +#define CONFIGURE_STACK_CHECKER_REPORTER

Line 16 above should be setting the macro to the name of the user provided custom reporter. Each test/application can provide a unique handler. 

The custom handler is not in the RTEMS source. It is part of the application.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/86#note_108775
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240706/9eacfd60/attachment.htm>


More information about the bugs mailing list