summaryrefslogtreecommitdiffstats
path: root/tests/Makefile.inc
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2020-05-04 17:46:31 -0700
committerJulius Werner <jwerner@chromium.org>2020-05-19 03:22:04 +0000
commit254003740674a72ac794c984200666517109adb8 (patch)
treeed5bf936cfe5490f738b4d26e3f5f712567d24de /tests/Makefile.inc
parent21744811bb7638830a7ca495694d295acbadc150 (diff)
downloadcoreboot-254003740674a72ac794c984200666517109adb8.tar.gz
coreboot-254003740674a72ac794c984200666517109adb8.tar.bz2
coreboot-254003740674a72ac794c984200666517109adb8.zip
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>
Diffstat (limited to 'tests/Makefile.inc')
-rw-r--r--tests/Makefile.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/Makefile.inc b/tests/Makefile.inc
index 9ee27cd83195..be32434e8390 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