diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-05-10 23:43:54 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-05-10 23:43:54 -0700 |
| commit | 943aa0b71a8c2a03fe4b57317d4c7bc7df7d014c (patch) | |
| tree | 7d58d4a4e1482a4753c437f5fbe64372d9a6958e /Makefile | |
| parent | 529ff8fb4ff104ee4107512c6ab12577842b428d (diff) | |
Added simple test
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -26,6 +26,9 @@ tags: $(CFILES) bp.c clean: rm -f $(NAME) $(OBJFILES) +test: + ./$(NAME) -g grammars/bp.bp -p Grammar grammars/bp.bp + leaktest: make G=-ggdb O=-O0 EXTRA=-DDEBUG_HEAP clean bp valgrind --leak-check=full ./bp -l -g grammars/bp.bp -p Grammar grammars/bp.bp @@ -55,4 +58,4 @@ uninstall: [ "$$confirm" != n ] && rm -rf ~/.config/$(NAME); \ fi -.PHONY: all clean install uninstall leaktest splint +.PHONY: all clean install uninstall leaktest splint test |
