tests: Add lib/rtc-test test case

Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Change-Id: I2062e0d9dc2018bd6d8a210c8d26f2091e8c03fe
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52414
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
This commit is contained in:
Jakub Czapiga
2021-04-15 11:39:13 +02:00
committed by Patrick Georgi
parent 3c20cba289
commit a37c8021a6
2 changed files with 317 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ tests-y += uuid-test
tests-y += bootmem-test
tests-y += dimm_info_util-test
tests-y += coreboot_table-test
tests-y += rtc-test
string-test-srcs += tests/lib/string-test.c
string-test-srcs += src/lib/string.c
@@ -139,3 +140,7 @@ coreboot_table-test-srcs += src/lib/imd.c
coreboot_table-test-cflags += -I src -I 3rdparty/vboot/firmware/include
coreboot_table-test-cflags += -I tests/include/tests/lib/fmap
coreboot_table-test-mocks += cbmem_top_chipset
rtc-test-srcs += tests/lib/rtc-test.c
rtc-test-srcs += src/lib/rtc.c