tests: Add region-test for rdev API
This patch adds a basic test for the common region and region_device APIs, sanity checking the basic functions and things like overflow-handling. There is certainly more that could be added here, but it's a start. Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: I4932402f54768557e5b22b16e66220bd90ddebfd Reviewed-on: https://review.coreboot.org/c/coreboot/+/41046 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Jan Dabros Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
7
tests/commonlib/Makefile.inc
Normal file
7
tests/commonlib/Makefile.inc
Normal file
@@ -0,0 +1,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# This file is part of the coreboot project.
|
||||
|
||||
tests-y += region-test
|
||||
|
||||
region-test-srcs += tests/commonlib/region-test.c
|
||||
region-test-srcs += src/commonlib/region.c
|
Reference in New Issue
Block a user