summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJakub Czapiga <jacz@semihalf.com>2022-09-08 16:38:50 +0200
committerPatrick Georgi <patrick@coreboot.org>2022-09-09 19:07:44 +0000
commit90072900b35f2445aa5ee1bd3f07e584f847d92e (patch)
treeb6046cda0ef11273e182643888029533336c1202 /tests
parent2b523ce6316e5c5ec86fe812d739fe48ca81d83d (diff)
tests: Disable unnecessary warnings
Unit-tests had more strict warning setings than main build. Sometimes it can cause unit-tests builds to fail even if code compiles correctly when building normal coreboot image. Signed-off-by: Jakub Czapiga <jacz@semihalf.com> Change-Id: Ia219ccc8631b069436497eb45a1552a0910f7aa1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/67453 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <patrick@coreboot.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.common2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Makefile.common b/tests/Makefile.common
index 5cf0446073..04bd6c94c3 100644
--- a/tests/Makefile.common
+++ b/tests/Makefile.common
@@ -45,6 +45,8 @@ TEST_CFLAGS += -I$(src) -I$(src)/include -I$(src)/commonlib/include \
# unintentional.
TEST_CFLAGS += -Wall -Werror -Wundef -Wstrict-prototypes -Wno-inline-asm
TEST_CFLAGS += -Wno-unknown-warning-option -Wno-source-mgr -Wno-main-return-type
+TEST_CFLAGS += -Wno-array-compare -Wno-packed-not-aligned -Wno-trigraphs
+TEST_CFLAGS += -Wno-unused-but-set-variables
# Path for Kconfig autoheader
TEST_CFLAGS += -I$(dir $(TEST_KCONFIG_AUTOHEADER))