tests: ztest: fix tags for testsuite and unify them
Use test_framework as unified tag so we can filter tests in a consistent way. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
4e8cdb8bc3
commit
cec8fd1c6e
11 changed files with 23 additions and 16 deletions
|
@ -5,4 +5,4 @@ tests:
|
|||
platform_allow: native_posix
|
||||
integration_platforms:
|
||||
- native_posix
|
||||
tags: testing
|
||||
tags: test_framework
|
||||
|
|
|
@ -5,7 +5,7 @@ tests:
|
|||
harness_config:
|
||||
pytest_args: ["--custom-pytest-arg", "foo", "--cmdopt", "."]
|
||||
tags:
|
||||
- testing
|
||||
- test_framework
|
||||
- pytest
|
||||
integration_platforms:
|
||||
- native_posix
|
||||
|
|
|
@ -9,6 +9,6 @@ tests:
|
|||
- native_posix
|
||||
- qemu_cortex_m3
|
||||
tags:
|
||||
- testing
|
||||
- test_framework
|
||||
- pytest
|
||||
- shell
|
||||
|
|
|
@ -46,9 +46,12 @@ bluetooth:
|
|||
- subsys/bluetooth/
|
||||
- subsys/net/l2/bluetooth/
|
||||
|
||||
testsuite:
|
||||
test_framework:
|
||||
files:
|
||||
- subsys/testsuite/
|
||||
- samples/subsys/testsuite/
|
||||
- tests/subsys/testsuite/
|
||||
- tests/ztest/
|
||||
|
||||
cmsis_dsp:
|
||||
files:
|
||||
|
|
|
@ -1,21 +1,20 @@
|
|||
common:
|
||||
tags:
|
||||
- test_framework
|
||||
tests:
|
||||
testing.ztest.base:
|
||||
tags: test_framework
|
||||
type: unit
|
||||
testing.ztest.base.cpp:
|
||||
extra_args: CONF_FILE=prj_cpp.conf
|
||||
tags: test_framework
|
||||
platform_allow: native_posix
|
||||
testing.ztest.base.verbose_0:
|
||||
extra_args: CONF_FILE=prj_verbose_0.conf
|
||||
tags: test_framework
|
||||
integration_platforms:
|
||||
- native_posix
|
||||
testing.ztest.base.verbose_0_userspace:
|
||||
filter: CONFIG_USERSPACE
|
||||
extra_args: CONF_FILE=prj_verbose_0.conf
|
||||
tags:
|
||||
- test_framework
|
||||
- userspace
|
||||
extra_configs:
|
||||
- CONFIG_TEST_USERSPACE=y
|
||||
|
@ -23,11 +22,9 @@ tests:
|
|||
- native_posix
|
||||
testing.ztest.base.verbose_1:
|
||||
extra_args: CONF_FILE=prj_verbose_1.conf
|
||||
tags: test_framework
|
||||
integration_platforms:
|
||||
- native_posix
|
||||
testing.ztest.base.verbose_2:
|
||||
extra_args: CONF_FILE=prj_verbose_2.conf
|
||||
tags: test_framework
|
||||
integration_platforms:
|
||||
- native_posix
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
common:
|
||||
tags: test_framework
|
||||
tags:
|
||||
- test_framework
|
||||
depends_on: counter
|
||||
tests:
|
||||
testing.ztest.busy_sim:
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
common:
|
||||
tags:
|
||||
- test_framework
|
||||
tests:
|
||||
testing.ztest.error_hook:
|
||||
filter: CONFIG_ARCH_HAS_USERSPACE
|
||||
tags:
|
||||
- test_framework
|
||||
- userspace
|
||||
ignore_faults: true
|
||||
testing.ztest.error_hook.no_userspace:
|
||||
extra_args: CONF_FILE=prj_no_userspace.conf
|
||||
tags: test_framework
|
||||
ignore_faults: true
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
common:
|
||||
tags: ztest
|
||||
tags:
|
||||
- test_framework
|
||||
# test has dependencies on host libc
|
||||
platform_allow: native_posix
|
||||
tests:
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
tests:
|
||||
testing.ztest.summary.shared_unit_test:
|
||||
tags: test_framework
|
||||
tags:
|
||||
- test_framework
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
common:
|
||||
integration_platforms:
|
||||
- native_posix
|
||||
tags:
|
||||
- test_framework
|
||||
tests:
|
||||
testing.ztest.expect:
|
||||
integration_platforms:
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
common:
|
||||
tags: test_framework
|
||||
tags:
|
||||
- test_framework
|
||||
platform_type:
|
||||
- qemu
|
||||
tests:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue