aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-06-24 18:23:53 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-06-24 18:24:26 -0700
commit34cf3d83d30a07be030255bdefc42dbfff1ece1e (patch)
tree257dff9b17a630e90c7c1e5bb3e69aa60f3705b5
parent45a7c9a8da385a2b553ccd625090497644e5f875 (diff)
Tweaked `make test` to run both unoptimized and optimized tests.
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 35688a8..cb00119 100644
--- a/Makefile
+++ b/Makefile
@@ -23,8 +23,10 @@ all: build optimize
.PHONY: test
test: build optimize
- @echo "\033[1mRunning tests...\033[0m"
+ @echo "\033[1;4mRunning unoptimized tests...\033[0m"
@$(LUA_BIN) nomsu.lua tests
+ @echo "\n\033[1;4mRunning optimized tests...\033[0m"
+ @$(LUA_BIN) nomsu.lua -O tests
%.lua: %.moon
@moonc $<