mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
No segfaults, still failing tests
This commit is contained in:
@@ -16,7 +16,7 @@ all: $(OBJ) $(TESTS:%.c=../$(OUTDIR)/%.exe)
|
||||
../$(OUTDIR)/%.exe: $(ODIR)/%.o
|
||||
@$(CC) -o $@ $< $(TARGETS:../source/%.c=$(ODIR)/%.o) $(CFLAGS) $(LIBS)
|
||||
ifeq ($(shell uname),Linux)
|
||||
valgrind --leak-check=full $@
|
||||
valgrind --leak-check=full --track-origins=yes $@
|
||||
else
|
||||
@echo please run these tests with valgrind on linux
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user