mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
samples: hash_map: Add newlib filter to samples.yaml
Not all toolchains support newlib so tests that require newlib need to have a filter to we don't try and build those tests on those testcases. Add the following to samples.yaml to handle the issue: filter: TOOLCHAIN_HAS_NEWLIB == 1 Signed-off-by: Kumar Gala <kumar.gala@intel.com>
This commit is contained in:
@@ -31,16 +31,19 @@ tests:
|
||||
- CONFIG_SYS_HASH_FUNC32_CHOICE_DJB2=y
|
||||
# Newlib
|
||||
libraries.hash_map.newlib.separate_chaining.djb2:
|
||||
filter: TOOLCHAIN_HAS_NEWLIB == 1
|
||||
extra_configs:
|
||||
- CONFIG_NEWLIB_LIBC=y
|
||||
- CONFIG_SYS_HASH_MAP_CHOICE_SC=y
|
||||
- CONFIG_SYS_HASH_FUNC32_CHOICE_DJB2=y
|
||||
libraries.hash_map.newlib.open_addressing.djb2:
|
||||
filter: TOOLCHAIN_HAS_NEWLIB == 1
|
||||
extra_configs:
|
||||
- CONFIG_NEWLIB_LIBC=y
|
||||
- CONFIG_SYS_HASH_MAP_CHOICE_OA_LP=y
|
||||
- CONFIG_SYS_HASH_FUNC32_CHOICE_DJB2=y
|
||||
libraries.hash_map.newlib.cxx_unordered_map.djb2:
|
||||
filter: TOOLCHAIN_HAS_NEWLIB == 1
|
||||
extra_configs:
|
||||
- CONFIG_NEWLIB_LIBC=y
|
||||
- CONFIG_SYS_HASH_MAP_CHOICE_CXX=y
|
||||
|
||||
Reference in New Issue
Block a user