From 4fbc4288fdd2ca439c0200ba9be580a380513064 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 28 May 2024 01:12:24 -0400 Subject: [PATCH] Update test rule --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2026e30..242e578 100644 --- a/Makefile +++ b/Makefile @@ -52,7 +52,7 @@ lua: test: $(NAME) ./$(NAME) Comment -r '[@0]' >/dev/null - ./$(NAME) -g ./grammars/bp.bp -p Grammar ./grammars/bp.bp >/dev/null + ./$(NAME) -g ./grammars/bp.bp '{Grammar}' ./grammars/bp.bp >/dev/null for test in tests/*.sh; do \ PATH=".:$$PATH" sh "$$test" <"$${test/.sh/.in}" | diff -q - "$${test/.sh/.out}" ||\ PATH=".:$$PATH" sh "$$test" <"$${test/.sh/.in}" | diff -y --color=always - "$${test/.sh/.out}"; \ @@ -62,7 +62,7 @@ tutorial: ./tutorial.sh leaktest: bp - valgrind --leak-check=full ./bp -l -g ./grammars/bp.bp -p Grammar ./grammars/bp.bp + valgrind --leak-check=full ./bp -l -g ./grammars/bp.bp '{Grammar}' ./grammars/bp.bp splint: splint -posix-lib -weak -unrecog -initallelements -fullinitblock $(CFILES) bp.c