From 254003740674a72ac794c984200666517109adb8 Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Mon, 4 May 2020 17:46:31 -0700 Subject: 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 Change-Id: I4932402f54768557e5b22b16e66220bd90ddebfd Reviewed-on: https://review.coreboot.org/c/coreboot/+/41046 Reviewed-by: Aaron Durbin Reviewed-by: Jan Dabros Tested-by: build bot (Jenkins) --- tests/commonlib/Makefile.inc | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/commonlib/Makefile.inc (limited to 'tests/commonlib/Makefile.inc') diff --git a/tests/commonlib/Makefile.inc b/tests/commonlib/Makefile.inc new file mode 100644 index 0000000000..ce3499cb2b --- /dev/null +++ b/tests/commonlib/Makefile.inc @@ -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 -- cgit v1.2.3