diff options
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -9,8 +9,9 @@ PROJECT_VERSIONED = $(PROJECT)-$(VERSION) DISTFILE = $(PROJECT_VERSIONED).zip check: + @if test -z "$(LUA)"; then echo "Set LUA to run tests"; exit 1; fi @for i in $(REGNAMES); do \ - cd src/$$i && LUA_PATH="../../test/?.lua;$(LUA_PATH)" $(LUA) ../../test/runtest.lua -d. $$i && cd ../..; \ + LUA_PATH="test/?.lua;$(LUA_PATH)" $(LUA) test/runtest.lua -dsrc/$$i $$i; \ done docs: |