aboutgitcodelistschat:MatrixIRC
path: root/tests/unit/Makefile
diff options
context:
space:
mode:
authorAlice Frosi <afrosi@redhat.com>2023-07-14 12:50:03 +0200
committerAlice Frosi <afrosi@redhat.com>2023-07-14 12:50:03 +0200
commit47b8e520b6275ffdb5936b31aa3665dea7d4ab5a (patch)
treec70ae053853d568eca8c65be1c0d53d456684525 /tests/unit/Makefile
parent2878f461e18869d7a63a6994a2e43fce05338c1b (diff)
downloadseitan-47b8e520b6275ffdb5936b31aa3665dea7d4ab5a.tar
seitan-47b8e520b6275ffdb5936b31aa3665dea7d4ab5a.tar.gz
seitan-47b8e520b6275ffdb5936b31aa3665dea7d4ab5a.tar.bz2
seitan-47b8e520b6275ffdb5936b31aa3665dea7d4ab5a.tar.lz
seitan-47b8e520b6275ffdb5936b31aa3665dea7d4ab5a.tar.xz
seitan-47b8e520b6275ffdb5936b31aa3665dea7d4ab5a.tar.zst
seitan-47b8e520b6275ffdb5936b31aa3665dea7d4ab5a.zip
test: fix test-error-check
The error-check tests recompile and pass.
Diffstat (limited to 'tests/unit/Makefile')
-rw-r--r--tests/unit/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/Makefile b/tests/unit/Makefile
index c72eb48..4096cdb 100644
--- a/tests/unit/Makefile
+++ b/tests/unit/Makefile
@@ -13,7 +13,7 @@ HEADERS_FILTER_BUILD := $(COOKER_DIR)/filter.h $(DBG_DIR)/disasm.h $(COMMON_DIR)
$(COMMON_DIR)/util.h
SRCS_FILTER := $(COOKER_DIR)/filter.c $(COMMON_DIR)/common.c util.c \
- $(DBG_DIR)/disasm.c
+ $(DBG_DIR)/disasm.c $(COMMON_DIR)/util.c
HEADERS_FILTER := $(COOKER_DIR)/filter.h $(COMMON_DIR)/common.h $(COMMON_DIR)/util.h \
$(DBG_DIR)/disasm.h testutil.h
@@ -38,7 +38,7 @@ AUDIT_ARCH := $(shell echo $(AUDIT_ARCH) | sed 's/I[456]86/I386/')
AUDIT_ARCH := $(shell echo $(AUDIT_ARCH) | sed 's/PPC64/PPC/')
AUDIT_ARCH := $(shell echo $(AUDIT_ARCH) | sed 's/PPCLE/PPC64LE/')
-CFLAGS += -Wall -Wextra -pedantic
+CFLAGS += -Wall -Wextra -pedantic -std=c99
CFLAGS += -I$(MAIN_DIR) -I$(DBG_DIR) -I$(COMMON_DIR) -I$(COOKER_DIR)
CFLAGS += -lcheck
CFLAGS += -DSEITAN_AUDIT_ARCH=AUDIT_ARCH_$(AUDIT_ARCH)