coreboot-kgpe-d16/tests
Jakub Czapiga 45d37d5cb8 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>
2021-04-09 06:20:04 +00:00
..
acpi tests: Add acpi/acpigen-test test case 2021-02-23 17:10:10 +00:00
commonlib tests: Add some basic warnings and fix resulting issues 2020-06-12 19:40:19 +00:00
device device/dram: Add method for converting MHz to MT/s 2020-09-16 03:24:50 +00:00
include tests/include/tests/test.h: Add TEST_REGION_UNALLOCATED 2021-03-28 16:00:01 +00:00
lib include/assert.h: Use mock_assert() for ENV_TEST targets 2021-04-09 06:20:04 +00:00
stubs tests: Add lib/edid-test test case 2020-11-10 06:19:10 +00:00
Makefile.inc include/rules.h: Add ENV_TEST definition 2021-04-06 06:58:05 +00:00