summaryrefslogtreecommitdiff
path: root/tests/vb2_gbb_tests.c
diff options
context:
space:
mode:
authorChung-Sheng Wu <chungsheng@google.com>2021-03-23 18:33:54 +0800
committerCommit Bot <commit-bot@chromium.org>2021-04-21 03:58:35 +0000
commit029263c8be01430699553ddcf2631f7e37f2526c (patch)
treed6c0bd32b1fc591e407837a66183599c9de9b9c6 /tests/vb2_gbb_tests.c
parent6f3c57ff008a313b8e2ae2e497fda737dd1eeb5b (diff)
downloadvboot-factory-13929.B.tar.gz
Add helper functions to check and set ui error code. The ui error handling shouldn't catch the requests but only the error. Add vb2_is_error() to 2api.h. This function is for checking if the return value is an error or not. BRANCH=none BUG=b:157625765 TEST=make clean && CC=x86_64-pc-linux-gnu-clang make runtests Signed-off-by: Chung-Sheng Wu <chungsheng@google.com> Change-Id: I5c9a34dadf749f3b5364860a1a034bfefe0a61f5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2780821 Tested-by: Chung-Sheng Wu <chungsheng@chromium.org> Commit-Queue: Chung-Sheng Wu <chungsheng@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-by: Joel Kitching <kitching@chromium.org>
Diffstat (limited to 'tests/vb2_gbb_tests.c')
0 files changed, 0 insertions, 0 deletions