tests: ztest: fix filtering of tests
Some tests were marked as unit, but this is not a unit test, so they were completely excluded. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
70553a64a3
commit
22c3438f1b
1 changed files with 4 additions and 13 deletions
|
@ -1,53 +1,45 @@
|
|||
# Copyright (c) 2022 Google LLC
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
common:
|
||||
tags: ztest
|
||||
# test has dependencies on host libc
|
||||
platform_allow: native_posix
|
||||
tests:
|
||||
testing.fail.unit.assert_after:
|
||||
type: unit
|
||||
extra_configs:
|
||||
- CONFIG_ZTEST_FAIL_TEST_ASSERT_AFTER=y
|
||||
testing.fail.unit.assert_teardown:
|
||||
type: unit
|
||||
extra_configs:
|
||||
- CONFIG_ZTEST_FAIL_TEST_ASSERT_TEARDOWN=y
|
||||
testing.fail.unit.assume_after:
|
||||
type: unit
|
||||
extra_configs:
|
||||
- CONFIG_ZTEST_FAIL_TEST_ASSUME_AFTER=y
|
||||
testing.fail.unit.assume_teardown:
|
||||
type: unit
|
||||
extra_configs:
|
||||
- CONFIG_ZTEST_FAIL_TEST_ASSUME_TEARDOWN=y
|
||||
testing.fail.unit.pass_after:
|
||||
type: unit
|
||||
extra_configs:
|
||||
- CONFIG_ZTEST_FAIL_TEST_PASS_AFTER=y
|
||||
testing.fail.unit.pass_teardown:
|
||||
type: unit
|
||||
extra_configs:
|
||||
- CONFIG_ZTEST_FAIL_TEST_PASS_TEARDOWN=y
|
||||
testing.fail.zephyr.assert_after:
|
||||
platform_allow: native_posix
|
||||
extra_configs:
|
||||
- CONFIG_ZTEST_FAIL_TEST_ASSERT_AFTER=y
|
||||
testing.fail.zephyr.assert_teardown:
|
||||
platform_allow: native_posix
|
||||
extra_configs:
|
||||
- CONFIG_ZTEST_FAIL_TEST_ASSERT_TEARDOWN=y
|
||||
testing.fail.zephyr.assume_after:
|
||||
platform_allow: native_posix
|
||||
extra_configs:
|
||||
- CONFIG_ZTEST_FAIL_TEST_ASSUME_AFTER=y
|
||||
testing.fail.zephyr.assume_teardown:
|
||||
platform_allow: native_posix
|
||||
extra_configs:
|
||||
- CONFIG_ZTEST_FAIL_TEST_ASSUME_TEARDOWN=y
|
||||
testing.fail.zephyr.pass_after:
|
||||
platform_allow: native_posix
|
||||
extra_configs:
|
||||
- CONFIG_ZTEST_FAIL_TEST_PASS_AFTER=y
|
||||
testing.fail.zephyr.pass_teardown:
|
||||
platform_allow: native_posix
|
||||
extra_configs:
|
||||
- CONFIG_ZTEST_FAIL_TEST_PASS_TEARDOWN=y
|
||||
testing.fail.unit.fail_on_bad_assumption:
|
||||
|
@ -55,6 +47,5 @@ tests:
|
|||
extra_configs:
|
||||
- CONFIG_ZTEST_FAIL_TEST_UNEXPECTED_ASSUME=y
|
||||
testing.fail.zephyr.fail_on_bad_assumption:
|
||||
platform_allow: native_posix
|
||||
extra_configs:
|
||||
- CONFIG_ZTEST_FAIL_TEST_UNEXPECTED_ASSUME=y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue