1# Copyright (c) 2022 Google LLC
2# SPDX-License-Identifier: Apache-2.0
3
4common:
5  tags:
6    - test_framework
7  # test has dependencies on host libc
8  platform_allow:
9    - unit_testing
10    - native_sim
11    - native_sim/native/64
12  integration_platforms:
13    - native_sim
14tests:
15  testing.fail.unit.assert_after:
16    type: unit
17    extra_configs:
18      - CONFIG_ZTEST_FAIL_TEST_ASSERT_AFTER=y
19  testing.fail.unit.assert_teardown:
20    type: unit
21    extra_configs:
22      - CONFIG_ZTEST_FAIL_TEST_ASSERT_TEARDOWN=y
23  testing.fail.unit.assume_after:
24    type: unit
25    extra_configs:
26      - CONFIG_ZTEST_FAIL_TEST_ASSUME_AFTER=y
27  testing.fail.unit.assume_teardown:
28    type: unit
29    extra_configs:
30      - CONFIG_ZTEST_FAIL_TEST_ASSUME_TEARDOWN=y
31  testing.fail.unit.pass_after:
32    type: unit
33    extra_configs:
34      - CONFIG_ZTEST_FAIL_TEST_PASS_AFTER=y
35  testing.fail.unit.pass_teardown:
36    type: unit
37    extra_configs:
38      - CONFIG_ZTEST_FAIL_TEST_PASS_TEARDOWN=y
39  testing.fail.zephyr.assert_after:
40    extra_configs:
41      - CONFIG_ZTEST_FAIL_TEST_ASSERT_AFTER=y
42  testing.fail.zephyr.assert_teardown:
43    extra_configs:
44      - CONFIG_ZTEST_FAIL_TEST_ASSERT_TEARDOWN=y
45  testing.fail.zephyr.assume_after:
46    extra_configs:
47      - CONFIG_ZTEST_FAIL_TEST_ASSUME_AFTER=y
48  testing.fail.zephyr.assume_teardown:
49    extra_configs:
50      - CONFIG_ZTEST_FAIL_TEST_ASSUME_TEARDOWN=y
51  testing.fail.zephyr.pass_after:
52    extra_configs:
53      - CONFIG_ZTEST_FAIL_TEST_PASS_AFTER=y
54  testing.fail.zephyr.pass_teardown:
55    extra_configs:
56      - CONFIG_ZTEST_FAIL_TEST_PASS_TEARDOWN=y
57  testing.fail.unit.fail_on_bad_assumption:
58    type: unit
59    extra_configs:
60      - CONFIG_ZTEST_FAIL_TEST_UNEXPECTED_ASSUME=y
61  testing.fail.zephyr.fail_on_bad_assumption:
62    extra_configs:
63      - CONFIG_ZTEST_FAIL_TEST_UNEXPECTED_ASSUME=y
64