From 6b65999a1f565651fc48a076a7473b6e93f6357a Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Thu, 5 Nov 2020 21:37:47 +0300 Subject: feature(testing): move tests to separate directory. Also add some tests --- Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7642885..d8ec9ce 100644 --- a/Makefile +++ b/Makefile @@ -19,18 +19,15 @@ clean-all: clean rm -f luacov* test: clean - @fennel --lua $(LUA) core_test.fnl - @fennel --lua $(LUA) macros_test.fnl + @fennel --lua $(LUA) test/fn.fnl + @fennel --lua $(LUA) test/core.fnl + @fennel --lua $(LUA) test/macros.fnl luacov: | clean-all all luacov-stats luacov luacov-console: | luacov - @mv core_test.lua core_test.lua.tmp - @mv macros_test.lua macros_test.lua.tmp luacov-console . - @mv core_test.lua.tmp core_test.lua - @mv macros_test.lua.tmp macros_test.lua luacov-stats: core_test.lua macros_test.lua @$(LUA) -lluarocks.loader -lluacov $< -- cgit v1.2.3