diff options
author | Jakub Czapiga <jacz@semihalf.com> | 2021-07-29 13:27:54 +0200 |
---|---|---|
committer | Nick Vaccaro <nvaccaro@google.com> | 2021-08-09 18:01:54 +0000 |
commit | a7a49e64c8aa0c8634d3bf31dba3c1d354ffef01 (patch) | |
tree | 54f97d974fb8a4bc09ba79c0da998cadfa600262 /tests/include | |
parent | ecd1bf57857e579b4403742c912d0f9134ee69ea (diff) |
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>
Diffstat (limited to 'tests/include')
0 files changed, 0 insertions, 0 deletions