Skip to content

Commit

Permalink
fix(make): missing exitcode for valgrind
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkness4 committed Jun 12, 2024
1 parent b6f9fcb commit da43bc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion video/concat/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CFLAGS=-Wall -Werror $(shell pkg-config --cflags libavformat libavcodec libavutil)
LDFLAGS=$(shell pkg-config --libs libavformat libavcodec libavutil)

VALGRIND_FLAGS=--leak-check=full --show-leak-kinds=all --track-origins=yes
VALGRIND_FLAGS=--leak-check=full --show-leak-kinds=all --track-origins=yes --error-exitcode=1

concat_valgrind_test.out: concat_valgrind_test.o concat.o
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
Expand Down
2 changes: 1 addition & 1 deletion video/probe/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CFLAGS=-Wall -Werror $(shell pkg-config --cflags libavformat libavcodec libavutil)
LDFLAGS=$(shell pkg-config --libs libavformat libavcodec libavutil)

VALGRIND_FLAGS=--leak-check=full --show-leak-kinds=all --track-origins=yes
VALGRIND_FLAGS=--leak-check=full --show-leak-kinds=all --track-origins=yes --error-exitcode=1

probe_valgrind_test.out: probe_valgrind_test.o probe.o
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
Expand Down

0 comments on commit da43bc9

Please sign in to comment.