fzy

terminal fuzzy finder picker

git clone https://9o.is/git/fzy.git

commit d1a62e3e41582c06245f8b38e04a56cd5a1ba02a
parent c00a628c824bffc59b3ae268e305b574254d7044
Author: John Hawthorn <john.hawthorn@gmail.com>
Date:   Sun, 21 Sep 2014 14:23:01 -0700

Easy way to run tests with valgrind

VALGRIND="valgrind --leak-check=full" make test

Diffstat:
MMakefile | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -5,6 +5,7 @@ CFLAGS+=-Wall -Wextra -g -std=c99 -O3 -pedantic PREFIX?=/usr/local MANDIR?=$(PREFIX)/share/man BINDIR?=$(PREFIX)/bin +VALGRIND?= INSTALL=install INSTALL_PROGRAM=$(INSTALL) @@ -16,7 +17,7 @@ fzytest: fzytest.o match.o choices.o $(CC) $(CFLAGS) $(CCFLAGS) -o $@ $^ test: fzytest - -./fzytest + -$(VALGRIND) ./fzytest fzy: fzy.o match.o tty.o choices.o $(CC) $(CFLAGS) $(CCFLAGS) -o $@ $^