diff options
author | Jakub Czapiga <jacz@semihalf.com> | 2021-03-25 14:28:29 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-04-09 06:20:04 +0000 |
commit | 45d37d5cb807cd285b0277e4c235d0e5fae28093 (patch) | |
tree | bbf43d1a5d8c4bf65094cc1e0b99243503ad766a /src/drivers/wifi | |
parent | 70fe2707ba0d9e1e2f51c5ae7e813052ed044a81 (diff) |
include/assert.h: Use mock_assert() for ENV_TEST targets
Some tests have to be able to catch assertion errors.
Adding CMocka mock_assert() enables that.
Additionally fix test_imd_create_tiered_empty(),
test_full_stack() and test_incorrectly_initialized_stack()
by adding missing expect_assert_failure().
Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Change-Id: I5e8dd1b198ee6fab61e2be3f92baf1178f79bf18
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51804
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Diffstat (limited to 'src/drivers/wifi')
0 files changed, 0 insertions, 0 deletions