mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Tweaked valgrind test
@add00 you'll want to merge these and test them
This commit is contained in:
@@ -15,7 +15,7 @@ all: $(OBJ) $(TESTS:%.c=../$(TOY_OUTDIR)/%.exe)
|
|||||||
../$(TOY_OUTDIR)/%.exe: $(ODIR)/%.o
|
../$(TOY_OUTDIR)/%.exe: $(ODIR)/%.o
|
||||||
@$(CC) -o $@ $< $(TARGETS:../source/%.c=$(ODIR)/%.o) $(CFLAGS) $(LIBS)
|
@$(CC) -o $@ $< $(TARGETS:../source/%.c=$(ODIR)/%.o) $(CFLAGS) $(LIBS)
|
||||||
ifeq ($(shell uname)$(DISABLE_VALGRIND),Linux)
|
ifeq ($(shell uname)$(DISABLE_VALGRIND),Linux)
|
||||||
valgrind --leak-check=full --track-origins=yes $@
|
valgrind --leak-check=full --track-origins=yes --show-leak-kinds=all $@
|
||||||
else
|
else
|
||||||
$@
|
$@
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user