zephyr/tests/lib/hash_map/testcase.yaml

27 lines
775 B
YAML

# Copyright (c) 2022 Meta
#
# SPDX-License-Identifier: Apache-2.0
common:
min_ram: 24
integration_platforms:
- native_sim
tests:
libraries.hash_map.separate_chaining.djb2:
extra_configs:
- CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=8192
- CONFIG_SYS_HASH_MAP_CHOICE_SC=y
- CONFIG_SYS_HASH_FUNC32_CHOICE_DJB2=y
libraries.hash_map.open_addressing.djb2:
extra_configs:
- CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=8192
- CONFIG_SYS_HASH_MAP_CHOICE_OA_LP=y
- CONFIG_SYS_HASH_FUNC32_CHOICE_DJB2=y
libraries.hash_map.cxx.djb2:
filter: CONFIG_FULL_LIBCPP_SUPPORTED
extra_configs:
- CONFIG_NEWLIB_LIBC_MIN_REQUIRED_HEAP_SIZE=8192
- CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=8192
- CONFIG_SYS_HASH_MAP_CHOICE_CXX=y