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:
Anas Nashif 2023-06-01 07:05:07 -04:00
commit cec8fd1c6e
11 changed files with 23 additions and 16 deletions

View file

@ -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

View file

@ -1,5 +1,6 @@
common:
tags: test_framework
tags:
- test_framework
depends_on: counter
tests:
testing.ztest.busy_sim:

View file

@ -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

View file

@ -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:

View file

@ -1,3 +1,4 @@
tests:
testing.ztest.summary.shared_unit_test:
tags: test_framework
tags:
- test_framework

View file

@ -4,6 +4,8 @@
common:
integration_platforms:
- native_posix
tags:
- test_framework
tests:
testing.ztest.expect:
integration_platforms:

View file

@ -1,5 +1,6 @@
common:
tags: test_framework
tags:
- test_framework
platform_type:
- qemu
tests: