zephyr/subsys/testsuite
Greter Raffael 774858c6dc ztest: Add comfort functions for non-zero return codes
Many functions return non-zero return codes on errors. I added an assert
for the case, when a function is expected to fail. It is just a
shorthand for `zassert_not_equal(0, ret);`, analogous to
`zassert_ok`, introduced in c5d85e175f.

I also added the corresponding `zassume_nok` and `zexpect_nok`.

Signed-off-by: Greter Raffael <rgreter@baumer.com>
2023-11-04 07:39:46 -04:00
..
arch/unit_testing drivers: Console: Move all posix arch boards to same driver 2023-05-26 12:57:41 +02:00
boards/unit_testing/unit_testing testsuite: boards: unit_testing: default HCI bus 2023-09-25 16:43:42 +02:00
busy_sim random: Rename random header 2023-10-10 14:23:50 +03:00
coverage testsuite: coverage: allow gcov data dump directly on console 2023-10-25 09:57:15 +02:00
include/zephyr ztest: remove old ztest api 2023-10-20 15:04:29 +02:00
soc/unit_testing/unit_testing cmake: kconfig: introduce dedicated unit testing board 2022-08-18 14:29:14 +02:00
ztest ztest: Add comfort functions for non-zero return codes 2023-11-04 07:39:46 -04:00
CMakeLists.txt build: drop LEGACY_INCLUDE_PATH support 2023-02-21 15:06:48 +01:00
Kconfig testsuite: coverage: allow gcov data dump directly on console 2023-10-25 09:57:15 +02:00
Kconfig.defconfig testsuite: ztress: Use XOSHIRO generator when ztress is used 2022-09-08 05:43:17 -04:00