summaryrefslogtreecommitdiff
path: root/tests/mock/cbfs_file_mock.c
diff options
context:
space:
mode:
authorJakub Czapiga <jacz@semihalf.com>2021-11-18 10:53:34 +0000
committerJulius Werner <jwerner@chromium.org>2021-11-23 23:38:15 +0000
commitc69ea3285e58346dbaf543ad81a2fd6a6ce3fee3 (patch)
treebaf3314016a4a5f087c7293503db1cb1cb78c2df /tests/mock/cbfs_file_mock.c
parent162083072eb42b3607208c2cf80ebb2695ac2217 (diff)
libpayload: Add mock assert support for unit testing purposes
Some unit tests might require catching assert failures. This patch adds an assert() variant depending on __TEST__ define passed to unit tests. Change-Id: I7e4620400f27dbebc57c71bbf2bf9144ca65807f Signed-off-by: Jakub Czapiga <jacz@semihalf.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/59495 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'tests/mock/cbfs_file_mock.c')
0 files changed, 0 insertions, 0 deletions