Hello build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/40538
to look at the new patch set (#2).
Change subject: tests: Add lib/string-test test case ......................................................................
tests: Add lib/string-test test case
This commit's purpose is to show basic example of how unit testing may be applied for coreboot project. It adds 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 --- A tests/lib/Makefile.inc A tests/lib/string-test.c 2 files changed, 66 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/38/40538/2