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/Makefile.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/Makefile.inc') diff --git a/tests/Makefile.inc b/tests/Makefile.inc index 9ee27cd831..be32434e83 100644 --- a/tests/Makefile.inc +++ b/tests/Makefile.inc @@ -24,8 +24,7 @@ TEST_CFLAGS += -I$(src)/include -I$(src)/commonlib/include \ # Path for Kconfig autoheader TEST_CFLAGS += -I$(dir $(TEST_KCONFIG_AUTOHEADER)) -TEST_CFLAGS += -std=gnu11 -Os -ffunction-sections -fdata-sections \ - -fno-builtin +TEST_CFLAGS += -std=gnu11 -Os -ffunction-sections -fdata-sections -fno-builtin # Link against Cmocka TEST_LDFLAGS = -lcmocka -Wl,--gc-sections -- cgit v1.2.3