zephyr/tests/subsys/display/cfb/basic/testcase.yaml
Anas Nashif a732379d62 tests: display: cfb: fix filtering
Test was marked build only with filters in each scenario looking for
sdl-dc which is only available on native_sim, so cut the chase and use
platform_only to narrow things down to native_sim directly instead of
building the world to get information we already know.

reduces build/run time from 78s to 17s on invocation of twister with
default options, saves a ton more when running twister with --all.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-11-18 07:24:12 -05:00

53 lines
1.8 KiB
YAML

# Copyright (c) 2024 TOKITA Hiroshi
# SPDX-License-Identifier: Apache-2.0
common:
tags:
- display
- drivers
- cfb
harness: display
platform_allow:
- native_sim
tests:
display.cfb.basic.mono01:
extra_configs:
- CONFIG_SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_MONO01=y
- CONFIG_SDL_DISPLAY_USE_HARDWARE_ACCELERATOR=n
display.cfb.basic.mono10:
extra_configs:
- CONFIG_SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_MONO10=y
- CONFIG_SDL_DISPLAY_USE_HARDWARE_ACCELERATOR=n
display.cfb.basic.mono01.lsbfirst:
extra_configs:
- CONFIG_SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_MONO01=y
- CONFIG_SDL_DISPLAY_USE_HARDWARE_ACCELERATOR=n
- CONFIG_SDL_DISPLAY_MONO_MSB_FIRST=n
display.cfb.basic.mono10.lsbfirst:
extra_configs:
- CONFIG_SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_MONO10=y
- CONFIG_SDL_DISPLAY_USE_HARDWARE_ACCELERATOR=n
- CONFIG_SDL_DISPLAY_MONO_MSB_FIRST=n
display.cfb.basic.mono01.msbfirst_font:
extra_configs:
- CONFIG_SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_MONO01=y
- CONFIG_SDL_DISPLAY_USE_HARDWARE_ACCELERATOR=n
- CONFIG_TEST_MSB_FIRST_FONT=y
display.cfb.basic.mono10.msbfirst_font:
extra_configs:
- CONFIG_SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_MONO10=y
- CONFIG_SDL_DISPLAY_USE_HARDWARE_ACCELERATOR=n
- CONFIG_TEST_MSB_FIRST_FONT=y
display.cfb.basic.mono01.lsbfirst.msbfirst_font:
extra_configs:
- CONFIG_SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_MONO01=y
- CONFIG_SDL_DISPLAY_USE_HARDWARE_ACCELERATOR=n
- CONFIG_SDL_DISPLAY_MONO_MSB_FIRST=n
- CONFIG_TEST_MSB_FIRST_FONT=y
display.cfb.basic.mono10.lsbfirst.msbfirst_font:
extra_configs:
- CONFIG_SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_MONO10=y
- CONFIG_SDL_DISPLAY_USE_HARDWARE_ACCELERATOR=n
- CONFIG_SDL_DISPLAY_MONO_MSB_FIRST=n
- CONFIG_TEST_MSB_FIRST_FONT=y