diff options
author | Jan Dabros <jsd@semihalf.com> | 2020-04-20 15:19:45 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-05-01 06:33:38 +0000 |
commit | 2d0ee36913a5e0f6c74beb5cdb9f25ea36ea9290 (patch) | |
tree | 32b01e4cd69073b46a8949a090b76bbeb0265ef6 /AUTHORS | |
parent | ef1c968374ab9eb599ec18523700e0dacbeef351 (diff) |
tests: Add lib/string-test test case
Show a basic example of how unit testing can be applied for the coreboot
project. Add a test harness for lib/string.c module.
TEST=Install cmocka via appropriate command:
sudo apt-get install -y libcmocka-dev
sudo emerge dev-util/cmocka
yum install libcmocka-devel
* Build and run unit tests via `make unit-tests`
* Check the output to see that tests passed.
Signed-off-by: Jan Dabros <jsd@semihalf.com>
Change-Id: Ibf5554d1e99a393721a66bdd35af0122c2e412c4
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40538
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions