diff --git a/test/Makefile b/test/Makefile index 2ca5768..95b38fd 100644 --- a/test/Makefile +++ b/test/Makefile @@ -10,7 +10,7 @@ HOEL_INCLUDE=../include HOEL_LOCATION=../src HOEL_LIBRARY=$(HOEL_LOCATION)/libhoel.so CC=gcc -CFLAGS=-Wall -I$(HOEL_INCLUDE) -D_REENTRANT -DDEBUG -g -O0 +CFLAGS=-Wall -Werror -Wextra -I$(HOEL_INCLUDE) -D_REENTRANT -DDEBUG -g -O0 HOEL_DB_TEST=/tmp/test.db LDFLAGS=-lc $(shell pkg-config --libs liborcania) $(shell pkg-config --libs libyder) $(shell pkg-config --libs libhoel) $(shell pkg-config --libs jansson) -L$(HOEL_LIBRARY) $(shell pkg-config --libs check) VALGRIND_COMMAND=valgrind --tool=memcheck --leak-check=full --show-leak-kinds=all diff --git a/test/core.c b/test/core.c index 786ff97..861dd55 100644 --- a/test/core.c +++ b/test/core.c @@ -1107,7 +1107,7 @@ static Suite *hoel_suite(void) return s; } -int main(int argc, char *argv[]) +int main(void) { int number_failed; Suite *s;