tests/ztest/fail: Fix yaml description
Fix filtering done in
22c3438f1b
Otherwise we end up with tests defined twice, as a .unit and .zerphyr
variant but both run in normal builds, and none for unit tests.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
99d7161e34
commit
9ceeb9bfef
1 changed files with 7 additions and 0 deletions
|
@ -6,27 +6,34 @@ common:
|
||||||
- test_framework
|
- test_framework
|
||||||
# test has dependencies on host libc
|
# test has dependencies on host libc
|
||||||
platform_allow:
|
platform_allow:
|
||||||
|
- unit_testing
|
||||||
- native_sim
|
- native_sim
|
||||||
- native_sim/native/64
|
- native_sim/native/64
|
||||||
integration_platforms:
|
integration_platforms:
|
||||||
- native_sim
|
- native_sim
|
||||||
tests:
|
tests:
|
||||||
testing.fail.unit.assert_after:
|
testing.fail.unit.assert_after:
|
||||||
|
type: unit
|
||||||
extra_configs:
|
extra_configs:
|
||||||
- CONFIG_ZTEST_FAIL_TEST_ASSERT_AFTER=y
|
- CONFIG_ZTEST_FAIL_TEST_ASSERT_AFTER=y
|
||||||
testing.fail.unit.assert_teardown:
|
testing.fail.unit.assert_teardown:
|
||||||
|
type: unit
|
||||||
extra_configs:
|
extra_configs:
|
||||||
- CONFIG_ZTEST_FAIL_TEST_ASSERT_TEARDOWN=y
|
- CONFIG_ZTEST_FAIL_TEST_ASSERT_TEARDOWN=y
|
||||||
testing.fail.unit.assume_after:
|
testing.fail.unit.assume_after:
|
||||||
|
type: unit
|
||||||
extra_configs:
|
extra_configs:
|
||||||
- CONFIG_ZTEST_FAIL_TEST_ASSUME_AFTER=y
|
- CONFIG_ZTEST_FAIL_TEST_ASSUME_AFTER=y
|
||||||
testing.fail.unit.assume_teardown:
|
testing.fail.unit.assume_teardown:
|
||||||
|
type: unit
|
||||||
extra_configs:
|
extra_configs:
|
||||||
- CONFIG_ZTEST_FAIL_TEST_ASSUME_TEARDOWN=y
|
- CONFIG_ZTEST_FAIL_TEST_ASSUME_TEARDOWN=y
|
||||||
testing.fail.unit.pass_after:
|
testing.fail.unit.pass_after:
|
||||||
|
type: unit
|
||||||
extra_configs:
|
extra_configs:
|
||||||
- CONFIG_ZTEST_FAIL_TEST_PASS_AFTER=y
|
- CONFIG_ZTEST_FAIL_TEST_PASS_AFTER=y
|
||||||
testing.fail.unit.pass_teardown:
|
testing.fail.unit.pass_teardown:
|
||||||
|
type: unit
|
||||||
extra_configs:
|
extra_configs:
|
||||||
- CONFIG_ZTEST_FAIL_TEST_PASS_TEARDOWN=y
|
- CONFIG_ZTEST_FAIL_TEST_PASS_TEARDOWN=y
|
||||||
testing.fail.zephyr.assert_after:
|
testing.fail.zephyr.assert_after:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue