2022-08-19 13:31:36 +08:00
|
|
|
# Copyright (c) 2022 Google LLC
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2022-11-21 22:49:21 +08:00
|
|
|
common:
|
2023-06-01 19:05:07 +08:00
|
|
|
tags:
|
|
|
|
- test_framework
|
2022-11-21 22:49:21 +08:00
|
|
|
# test has dependencies on host libc
|
|
|
|
platform_allow: native_posix
|
2022-08-19 13:31:36 +08:00
|
|
|
tests:
|
|
|
|
testing.fail.unit.assert_after:
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_ZTEST_FAIL_TEST_ASSERT_AFTER=y
|
|
|
|
testing.fail.unit.assert_teardown:
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_ZTEST_FAIL_TEST_ASSERT_TEARDOWN=y
|
|
|
|
testing.fail.unit.assume_after:
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_ZTEST_FAIL_TEST_ASSUME_AFTER=y
|
|
|
|
testing.fail.unit.assume_teardown:
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_ZTEST_FAIL_TEST_ASSUME_TEARDOWN=y
|
|
|
|
testing.fail.unit.pass_after:
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_ZTEST_FAIL_TEST_PASS_AFTER=y
|
|
|
|
testing.fail.unit.pass_teardown:
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_ZTEST_FAIL_TEST_PASS_TEARDOWN=y
|
|
|
|
testing.fail.zephyr.assert_after:
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_ZTEST_FAIL_TEST_ASSERT_AFTER=y
|
|
|
|
testing.fail.zephyr.assert_teardown:
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_ZTEST_FAIL_TEST_ASSERT_TEARDOWN=y
|
|
|
|
testing.fail.zephyr.assume_after:
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_ZTEST_FAIL_TEST_ASSUME_AFTER=y
|
|
|
|
testing.fail.zephyr.assume_teardown:
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_ZTEST_FAIL_TEST_ASSUME_TEARDOWN=y
|
|
|
|
testing.fail.zephyr.pass_after:
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_ZTEST_FAIL_TEST_PASS_AFTER=y
|
|
|
|
testing.fail.zephyr.pass_teardown:
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_ZTEST_FAIL_TEST_PASS_TEARDOWN=y
|
2022-08-30 02:44:31 +08:00
|
|
|
testing.fail.unit.fail_on_bad_assumption:
|
|
|
|
type: unit
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_ZTEST_FAIL_TEST_UNEXPECTED_ASSUME=y
|
|
|
|
testing.fail.zephyr.fail_on_bad_assumption:
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_ZTEST_FAIL_TEST_UNEXPECTED_ASSUME=y
|