diff options
author | John Hawthorn <john.hawthorn@gmail.com> | 2014-09-27 14:55:00 -0700 |
---|---|---|
committer | John Hawthorn <john.hawthorn@gmail.com> | 2014-09-27 16:50:08 -0700 |
commit | 78bf67c0d30cbd121a34c9fee5def678f0c027e7 (patch) | |
tree | 9ad2a18d1dc7f0a7f39ca93372fed33839962adc /Makefile | |
parent | 0b6104d6ddd3f7b859c15cdab5f7a512708e84ee (diff) |
Raise SIGTRAP on all assertion failures
Makes it easy to run tests w/ gdb for debugging
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,7 +5,7 @@ CFLAGS+=-Wall -Wextra -g -std=c99 -O3 -pedantic PREFIX?=/usr/local MANDIR?=$(PREFIX)/share/man BINDIR?=$(PREFIX)/bin -VALGRIND?= +DEBUGGER?= INSTALL=install INSTALL_PROGRAM=$(INSTALL) @@ -17,7 +17,7 @@ fzytest: fzytest.o match.o choices.o $(CC) $(CFLAGS) $(CCFLAGS) -o $@ $^ test: fzytest - -$(VALGRIND) ./fzytest + -$(DEBUGGER) ./fzytest fzy: fzy.o match.o tty.o choices.o $(CC) $(CFLAGS) $(CCFLAGS) -o $@ $^ |