Skip to content
Commit 4c8a69df authored by Mohamed Moawad's avatar Mohamed Moawad Committed by Chris Friedt
Browse files

tests: lib: cobs: Fix test setup failure with minimal libc



Set CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=256 for COBS tests to ensure
malloc() succeeds during test fixture allocation in cobs_test_setup().

When using minimal libc, CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE defaults
to 0, causing malloc() to fail and the zassume_not_null(fixture)
assertion to trigger test setup failure.

Fixes test execution with minimal libc configurations.

Signed-off-by: default avatarMohamed Moawad <moawad@synopsys.com>
parent eb0818a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment