zephyr/tests/lib/gui/lvgl/testcase.yaml
Watson Zeng 7a3f9c4e39 tests: add filter for some tests using newlib
some tests configured with CONFIG_NEWLIB_LIBC=y,
it's better to add a filter filter: TOOLCHAIN_HAS_NEWLIB == 1
in those tests yaml file.

Signed-off-by: Watson Zeng <zhiwei@synopsys.com>
2020-12-16 08:57:40 -05:00

50 lines
1.5 KiB
YAML

tests:
libraries.gui.lvgl:
tags: display gui
platform_allow: native_posix
libraries.gui.lvgl.dynamic.heap.libc:
filter: TOOLCHAIN_HAS_NEWLIB == 1
tags: display gui
platform_allow: native_posix
extra_configs:
- CONFIG_NEWLIB_LIBC=y
- CONFIG_LVGL_BUFFER_ALLOC_DYNAMIC=y
- CONFIG_LVGL_MEM_POOL_HEAP_LIB_C=y
libraries.gui.lvgl.dynamic.pool.user:
tags: display gui
platform_allow: native_posix
extra_configs:
- CONFIG_LVGL_BUFFER_ALLOC_DYNAMIC=y
- CONFIG_LVGL_MEM_POOL_USER=y
- CONFIG_LVGL_MEM_POOL_NUMBER_BLOCKS=3
- CONFIG_LVGL_MEM_POOL_MAX_SIZE=32768
libraries.gui.lvgl.dynamic.pool.kernel:
tags: display gui
platform_allow: native_posix
extra_configs:
- CONFIG_LVGL_BUFFER_ALLOC_DYNAMIC=y
- CONFIG_LVGL_MEM_POOL_KERNEL=y
- CONFIG_LVGL_MEM_POOL_NUMBER_BLOCKS=3
- CONFIG_LVGL_MEM_POOL_MAX_SIZE=32768
libraries.gui.lvgl.16bit:
tags: display gui
platform_allow: native_posix
extra_configs:
- CONFIG_LVGL_COLOR_DEPTH_16=y
libraries.gui.lvgl.8bit:
tags: display gui
platform_allow: native_posix
extra_configs:
- CONFIG_LVGL_COLOR_DEPTH_8=y
libraries.gui.lvgl.mono:
tags: display gui
platform_allow: native_posix
extra_configs:
- CONFIG_LVGL_COLOR_DEPTH_1=y
libraries.gui.lvgl.16bit.swap:
tags: display gui
platform_allow: native_posix
extra_configs:
- CONFIG_LVGL_COLOR_DEPTH_16=y
- CONFIG_LVGL_COLOR_16_SWAP=y