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:
1 parent
64201cb630
commit
af5abff115
3 files changed
+499
-364
No files matched your search
@@ -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:
|
||||
Reference in new issue
Block a user