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>
diff --git a/tests/lib/Makefile.inc b/tests/lib/Makefile.inc
index 4943e06..c76870b 100644
--- a/tests/lib/Makefile.inc
+++ b/tests/lib/Makefile.inc
@@ -27,6 +27,7 @@
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-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
+