Skip to content

Commit

Permalink
tests: Add lib/coreboot_table-test test case
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Change-Id: I4d7d9ca43316bf514bb5ebd8909f441bcfa20eba
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52159
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
  • Loading branch information
Jakub Czapiga authored and pgeorgi committed Apr 18, 2021
1 parent bcc7aaa commit 5d88483
Show file tree
Hide file tree
Showing 2 changed files with 507 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/lib/Makefile.inc
Expand Up @@ -26,6 +26,7 @@ tests-y += memrange-test
tests-y += uuid-test
tests-y += bootmem-test
tests-y += dimm_info_util-test
tests-y += coreboot_table-test

string-test-srcs += tests/lib/string-test.c
string-test-srcs += src/lib/string.c
Expand Down Expand Up @@ -129,3 +130,12 @@ dimm_info_util-test-srcs += tests/lib/dimm_info_util-test.c
dimm_info_util-test-srcs += src/lib/dimm_info_util.c
dimm_info_util-test-srcs += tests/stubs/console.c

coreboot_table-test-srcs += tests/lib/coreboot_table-test.c
coreboot_table-test-srcs += tests/stubs/console.c
coreboot_table-test-srcs += src/lib/compute_ip_checksum.c
coreboot_table-test-srcs += src/lib/coreboot_table.c
coreboot_table-test-srcs += src/lib/imd_cbmem.c
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

0 comments on commit 5d88483

Please sign in to comment.