Anas Nashif
345735d0a8
tests: remove CONFIG_ZTEST_NEW_API in all tests
...
Remove all usage of CONFIG_ZTEST_NEW_API from tests and sample as this
is now enabled by default.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-10-20 15:04:29 +02:00
Stephanos Ioannidis
162f5f7ab2
tests: ztests: error_hook: Enable assert test mode
...
This commit enables the assert test mode (`CONFIG_ASSERT_TEST`) for the
ztest error hook test because it implements a custom post assert fail
hook (`ztest_post_assert_fail_hook`) that returns without aborting to
faciliate the testing of the assert functions.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-08-10 14:32:36 +02:00
Yuval Peress
52292da328
ztest: migrate error_hook tests to new API
...
Update the tests to use the new ztest API.
Signed-off-by: Yuval Peress <peress@google.com>
2022-05-25 11:20:13 +09:00
Anas Nashif
85cc902a0d
Revert "ztest: migrate error_hook tests to new API"
...
This reverts commit fa13d57f01 .
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2022-04-26 18:55:32 -04:00
Yuval Peress
fa13d57f01
ztest: migrate error_hook tests to new API
...
Update the tests to use the new ztest API.
Signed-off-by: Yuval Peress <peress@google.com>
2022-04-26 14:29:18 -04:00
Enjia Mai
489223146f
tests: ztest: add test cases and example for fatal handler hook
...
Add testing for fatal and assert handler hook feature, and examples
of how to use it.
Signed-off-by: Enjia Mai <enjiax.mai@intel.com>
2021-01-13 09:05:31 -05:00