coreboot-kgpe-d16/tests
Jakub Czapiga a7a49e64c8 tests/Makefile.inc: Add function wrapping mechanism
This patch extends mocks functionality to allowing wrapping of mocked
functions. Original function name will be prefixed with `__real_`.
Example:
- Mocked function: cbfs_lookup()
- New function name: __real_cbfs_lookup()
- Mock name: cbfs_lookup()

Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Change-Id: I7cd0d66a17029955cbf75c8b155a7ebb7f5513aa
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56719
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2021-08-09 18:01:54 +00:00
..
acpi tests: Add acpi/acpigen-test test case 2021-02-23 17:10:10 +00:00
commonlib helpers: Add GENMASK macro 2021-08-02 15:01:54 +00:00
console src/console/init.c: Make get_log_level static inline again 2021-06-15 16:12:52 +00:00
device tests: Rework mocking facility 2021-06-10 19:26:46 +00:00
include tests: Add lib/spd_cache-test test case 2021-05-14 08:59:29 +00:00
lib tests: Add lib/libgcc-test test case 2021-07-26 07:32:43 +00:00
stubs Rename do_printk() to printk() 2021-04-14 10:38:09 +00:00
Makefile.inc tests/Makefile.inc: Add function wrapping mechanism 2021-08-09 18:01:54 +00:00