Add memory wrapper tests

Cover deterministic TODO 1.1 memory-wrapper behavior with a new CTest target. Exercise malloc/free round trips, NULL argument handling, memset fill/no-op semantics, and memcpy copy/no-op/null-pointer paths.

Harden AKSL_CHECK_OK so success requires no returned error context, catching wrappers that accidentally raise status-0 errors from stale errno.

Co-authored-by: Codex GPT-5.5 Default <codex-gpt-5.5-default@openai.com>
This commit is contained in:
2026-07-29 13:06:25 -04:00
parent 80205d5c4f
commit 8003239116
4 changed files with 186 additions and 10 deletions

View File

@@ -130,6 +130,7 @@ install(FILES
# it up into AKSL_TESTS.
set(AKSL_TESTS
linkedlist
memory
tree
)