zephyr/subsys/testsuite
Yuval Peress a40a2f5c50 ztest: make failed assumptions fail test binary
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>
2022-10-13 06:40:31 -04:00
..
arch/unit_testing cmake: kconfig: introduce dedicated unit testing board 2022-08-18 14:29:14 +02:00
boards/unit_testing/unit_testing cmake: kconfig: introduce dedicated unit testing board 2022-08-18 14:29:14 +02:00
busy_sim devices: constify statically initialized device pointers 2022-08-19 11:51:26 +02:00
coverage tests: framework: fix code coverage report on zephyr-sdk-0.15 2022-09-22 14:14:39 +00:00
include/zephyr mocking: Update fff.h 2022-10-04 14:24:09 -04:00
soc/unit_testing/unit_testing cmake: kconfig: introduce dedicated unit testing board 2022-08-18 14:29:14 +02:00
ztest ztest: make failed assumptions fail test binary 2022-10-13 06:40:31 -04:00
CMakeLists.txt testing: add zephyr/ prefix to testing include path 2022-06-29 06:04:32 -04:00
Kconfig tests: arm: Increase main stack size with no optimizations 2022-08-08 11:17:01 -04:00
Kconfig.defconfig testsuite: ztress: Use XOSHIRO generator when ztress is used 2022-09-08 05:43:17 -04:00