zephyr/tests/ztest/error_hook/testcase.yaml
Guo Lixin 1160994dfb tests: error_hook: remove filter and define testcases in yaml file
1.Remove filter to allow platforms(e.g. qemu_x86) supporting
CONFIG_ARCH_HAS_USERSPACE run testcases when userspace is disabled.

2.Define all testcases in the yaml for consistency and issue parsing
them during setup.

Signed-off-by: Guo Lixin <lixinx.guo@intel.com>
2022-05-24 08:54:49 -07:00

18 lines
448 B
YAML

tests:
testing.ztest.error_hook:
filter: CONFIG_ARCH_HAS_USERSPACE
tags: test_framework userspace ignore_faults
testcases:
- catch_assert_fail
- catch_fatal_error
- catch_z_oops
- catch_assert_in_isr
testing.ztest.error_hook.no_userspace:
extra_args: CONF_FILE=prj_no_userspace.conf
tags: test_framework ignore_faults
testcases:
- catch_fatal_error
- catch_assert_fail
- catch_assert_in_isr