aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-05-28 01:41:07 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-05-28 01:41:07 -0400
commit96d23f1bf301e8c31784e04d06cf4af5275ca9a1 (patch)
treecbf8cf7a5d46da8039b361d712a2c507f950bce3 /Makefile
parent4fbc4288fdd2ca439c0200ba9be580a380513064 (diff)
Light cleanup of utils
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 242e578..537fec1 100644
--- a/Makefile
+++ b/Makefile
@@ -50,6 +50,9 @@ clean:
lua:
@cd Lua && make
+luatest:
+ @cd Lua && make test
+
test: $(NAME)
./$(NAME) Comment -r '[@0]' >/dev/null
./$(NAME) -g ./grammars/bp.bp '{Grammar}' ./grammars/bp.bp >/dev/null
@@ -100,4 +103,4 @@ profile_grammar: bp
profile_pattern: bp
perf stat -r 1 -e L1-dcache-loads,L1-dcache-load-misses,L1-dcache-stores -e cycles ./bp -f plain -p 'id parens' /usr/include/*.h >/dev/null
-.PHONY: all clean install install-lib uninstall leaktest splint test tutorial lua profile
+.PHONY: all clean install install-lib uninstall leaktest splint test tutorial lua profile luatest