diff options
author | Jakub Czapiga <jacz@semihalf.com> | 2021-11-18 10:53:34 +0000 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2021-11-23 23:38:15 +0000 |
commit | c69ea3285e58346dbaf543ad81a2fd6a6ce3fee3 (patch) | |
tree | baf3314016a4a5f087c7293503db1cb1cb78c2df /payloads/nvramcui | |
parent | 162083072eb42b3607208c2cf80ebb2695ac2217 (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 'payloads/nvramcui')
0 files changed, 0 insertions, 0 deletions