Some test suites have different test case lists in test_main(), that conforms to different test scenarios defined in testcase.yaml. We use if statement to decide which test case list should run under specific config. But for thoses boards who do not support those configs, we will run test cases on the other side of the if statement even if it has deviated from the original test scenario. So add filter to avoid test scenario running under mismatch config. Signed-off-by: Guo Lixin <lixinx.guo@intel.com>
29 lines
657 B
YAML
29 lines
657 B
YAML
tests:
|
|
libraries.libc.sprintf:
|
|
extra_args: CONF_FILE=prj.conf
|
|
filter: not CONFIG_SOC_MCIMX7_M4 and CONFIG_STDOUT_CONSOLE
|
|
integration_platforms:
|
|
- qemu_x86
|
|
platform_exclude: native_posix native_posix_64 nrf52_bsim
|
|
tags: libc ignore_faults
|
|
testcases:
|
|
- sprintf_integer
|
|
- sprintf_double
|
|
- sprintf_string
|
|
- fprintf
|
|
- vprintf
|
|
- vsnprintf
|
|
- fwrite
|
|
- vfprintf
|
|
- sprintf_misc
|
|
- vsprintf
|
|
- print
|
|
- put
|
|
- snprintf
|
|
libraries.libc.sprintf_new:
|
|
extra_args: CONF_FILE=prj_new.conf
|
|
platform_exclude: native_posix native_posix_64 nrf52_bsim
|
|
tags: libc
|
|
testcases:
|
|
- EOF
|