Adding more deque tests and valgrind option to tests makefile

Also added a nice header for the main unit test
This commit is contained in:
Leonardo Vencovsky committed 2020-04-23 00:03:17 -03:00
1 parent 64201cb630
commit af5abff115
3 files changed
+499 -364

No files matched your search

+7
View File
@@ -1,6 +1,7 @@
CC = gcc
CFLAGS = -std=c11 -Wall -Wextra
CFLAGS += -Wno-unused -Wno-missing-braces
DBFLAGS = -g3
CVFLAGS = --coverage -O0
INCLUDE = ../../src/
@@ -31,4 +32,10 @@ bare: FORCE
./main.exe
rm *.exe
debug: FORCE
$(CC) main.c -o main.exe $(CFLAGS) -I $(INCLUDE) -DCMC_TEST_COLOR $(DBFLAGS)
valgrind: debug
valgrind --leak-check=full ./main.exe
FORCE: