Issue created by Sebastian Huber: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5830



21 tests outside of the heap tests depend on the first-fit heap. A heap with 
another block layout or more overhead makes them fail. The dependencies fall 
into three groups:

| Group | Tests | Dependency |
| --- | --- | --- |
| sizes | `sp16`, `sp59`, `sp62`, `sp64`, `sp68`, `spregion_err01`, 
`spsysinit01`, `tm20`, `tm21`, `psxconfig01`, `ttest01`, `malloc04`, 
`spstkalloc02` | areas of 128 bytes to 4 KiB with segment sizes which fit only 
with the overhead of the first-fit heap, `HEAP_BLOCK_HEADER_SIZE` |
| calls | `spfatal36`, `psxmsgq04`, `spunlimited01`, `spcache01`, `block11`, 
`spfatal12`, the heap check of the T test framework | internal heap functions, 
the block header, the order of two blocks, a function name in a text |
| internals | `malloctest` | tests of the `_Heap_*` functions next to the tests 
of `malloc()`, and expected block addresses after `realloc()` |

A test of a directive or of the C library interface should pass with every heap 
which meets the interface. The tests of the first-fit heap itself belong in a 
program of their own.

This description was created with Claude Code assistance.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5830
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/namespace/49/sent_notifications/6-crq3a4049i8vww1h0o2phncjw-1d/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to