RTEMS | testsuites/heapwalk: Bypass tests when RTEMS_DEBUG is enabled (!1335)

saksham balsane (@sak8644) gitlab at rtems.org
Sat Jun 27 13:14:42 UTC 2026



saksham balsane created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1335

Project:Branches: sak8644/rtems:fix-heapwalk-debug to rtems/rtos/rtems:main
Author:   saksham balsane



## Summary

The heapwalk test artificially corrupts heap control structures to verify the heap walker. When RTEMS_DEBUG is enabled, these corruptions trigger internal kernel assertions (\_Assert), which cause the test to fatally abort instead of failing gracefully.

This patch disables the destructive portions of the test suite when RTEMS_DEBUG is defined, which is the recommended solution to allow the test suite to pass when debug assertions are active.

Closes #2177

## Generative AI

<!--If you have used AI please use the "AI Contribution" template otherwise leave this blank see our fulls statement at https://www.rtems.org/generative-ai/-->

<!--Default settings, if it is a dropdown it will set after submission-->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1335
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-4gjcqjk60ima28agkypn0vx49-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help


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


More information about the bugs mailing list