Adding the new Kconfig (enabled by default) to make a failed assumption mark the final result as failed. This change has the following benefits which have been asked for by the Zephyr community: 1. A failed assumption does not go silent. In this example, the failed assumption will still mark the test as skipped, but the final result will be to mark the full test run as failed. This would allow blocking the CI when an assume fails. 2. Normal test skipping via the ztest_test_skip() is unaffected by this change. Those tests will be marked as skipped, but the binary will still pass. Signed-off-by: Yuval Peress <peress@google.com> |
||
---|---|---|
.. | ||
arch/unit_testing | ||
boards/unit_testing/unit_testing | ||
busy_sim | ||
coverage | ||
include/zephyr | ||
soc/unit_testing/unit_testing | ||
ztest | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.defconfig |