summaryrefslogtreecommitdiff
path: root/tests/device
diff options
context:
space:
mode:
authorJakub Czapiga <jacz@semihalf.com>2021-07-29 13:27:54 +0200
committerNick Vaccaro <nvaccaro@google.com>2021-08-09 18:01:54 +0000
commita7a49e64c8aa0c8634d3bf31dba3c1d354ffef01 (patch)
tree54f97d974fb8a4bc09ba79c0da998cadfa600262 /tests/device
parentecd1bf57857e579b4403742c912d0f9134ee69ea (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/device')
0 files changed, 0 insertions, 0 deletions