Skip to content

Commit 9ceeb9b

Browse files
aescolardleach02
authored andcommitted
tests/ztest/fail: Fix yaml description
Fix filtering done in 22c3438 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 <[email protected]>
1 parent 99d7161 commit 9ceeb9b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/ztest/fail/testcase.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,34 @@ common:
66
- test_framework
77
# test has dependencies on host libc
88
platform_allow:
9+
- unit_testing
910
- native_sim
1011
- native_sim/native/64
1112
integration_platforms:
1213
- native_sim
1314
tests:
1415
testing.fail.unit.assert_after:
16+
type: unit
1517
extra_configs:
1618
- CONFIG_ZTEST_FAIL_TEST_ASSERT_AFTER=y
1719
testing.fail.unit.assert_teardown:
20+
type: unit
1821
extra_configs:
1922
- CONFIG_ZTEST_FAIL_TEST_ASSERT_TEARDOWN=y
2023
testing.fail.unit.assume_after:
24+
type: unit
2125
extra_configs:
2226
- CONFIG_ZTEST_FAIL_TEST_ASSUME_AFTER=y
2327
testing.fail.unit.assume_teardown:
28+
type: unit
2429
extra_configs:
2530
- CONFIG_ZTEST_FAIL_TEST_ASSUME_TEARDOWN=y
2631
testing.fail.unit.pass_after:
32+
type: unit
2733
extra_configs:
2834
- CONFIG_ZTEST_FAIL_TEST_PASS_AFTER=y
2935
testing.fail.unit.pass_teardown:
36+
type: unit
3037
extra_configs:
3138
- CONFIG_ZTEST_FAIL_TEST_PASS_TEARDOWN=y
3239
testing.fail.zephyr.assert_after:

0 commit comments

Comments
 (0)