From 5664bc8cf9414ac4e0f08a2b5cafb5e9f5b3eecc Mon Sep 17 00:00:00 2001 From: Anna Karas Date: Thu, 2 Jul 2020 10:09:47 +0200 Subject: tests: Add lib/hexstrtobin-test test case Implement unit tests for lib/hexstrtobin module. Signed-off-by: Anna Karas Change-Id: Id929b07936ea180a798309e5acb1dacf1b396e32 Reviewed-on: https://review.coreboot.org/c/coreboot/+/43088 Tested-by: build bot (Jenkins) Reviewed-by: Paul Fagerburg --- tests/lib/Makefile.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/lib/Makefile.inc') diff --git a/tests/lib/Makefile.inc b/tests/lib/Makefile.inc index 5d47fea887..594c68ec06 100644 --- a/tests/lib/Makefile.inc +++ b/tests/lib/Makefile.inc @@ -2,9 +2,13 @@ tests-y += string-test tests-y += b64_decode-test +tests-y += hexstrtobin-test string-test-srcs += tests/lib/string-test.c string-test-srcs += src/lib/string.c b64_decode-test-srcs += tests/lib/b64_decode-test.c b64_decode-test-srcs += src/lib/b64_decode.c + +hexstrtobin-test-srcs += tests/lib/hexstrtobin-test.c +hexstrtobin-test-srcs += src/lib/hexstrtobin.c -- cgit v1.2.3