tests: Add lib/timestamp-test test case

Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Change-Id: I39abfc644fef085cef2175086a0e45a040b244de
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46968
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
This commit is contained in:
Jakub Czapiga
2020-10-09 10:07:47 +02:00
committed by Patrick Georgi
parent 5742357e4d
commit e0c60f3d39
4 changed files with 180 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ tests-y += string-test
tests-y += b64_decode-test
tests-y += hexstrtobin-test
tests-y += imd-test
tests-y += timestamp-test
string-test-srcs += tests/lib/string-test.c
string-test-srcs += src/lib/string.c
@@ -17,4 +18,9 @@ hexstrtobin-test-srcs += src/lib/hexstrtobin.c
imd-test-srcs += tests/lib/imd-test.c
imd-test-srcs += tests/stubs/console.c
imd-test-srcs += src/lib/imd.c
imd-test-srcs += src/lib/imd.c
timestamp-test-srcs += tests/lib/timestamp-test.c
timestamp-test-srcs += tests/stubs/timestamp.c
timestamp-test-srcs += tests/stubs/console.c
timestamp-test-stage := romstage