tests: posix: env: fix failure in case toolchain with minimal libc
In case of minimal libc we have CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE = 0 by default. Some toolchains uses minimal libc by default (for example ARC MWDT toolchain). Let's set CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE explicitly so we can allocate memory for environment variables. Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com> Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
This commit is contained in:
parent
67efbf3d57
commit
b4f49bf5fc
1 changed files with 3 additions and 1 deletions
4
tests/posix/env/testcase.yaml
vendored
4
tests/posix/env/testcase.yaml
vendored
|
@ -4,7 +4,9 @@ common:
|
|||
- qemu_riscv64
|
||||
tags: posix
|
||||
tests:
|
||||
portability.posix.env: {}
|
||||
portability.posix.env:
|
||||
extra_configs:
|
||||
- CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=256
|
||||
portability.posix.env.armclang_std_libc:
|
||||
toolchain_allow: armclang
|
||||
extra_configs:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue