# HG changeset patch # User Kim Alvefur # Date 1547126821 -3600 # Node ID 0b04099b49dee806056dea6b44ab257961547f1b # Parent ce5b2a149575604cf6cbb9085f603ba1fe591202 GNUmakefile: Add target for running scansion diff -r ce5b2a149575 -r 0b04099b49de GNUmakefile --- a/GNUmakefile Thu Jan 10 13:32:57 2019 +0100 +++ b/GNUmakefile Thu Jan 10 14:27:01 2019 +0100 @@ -21,6 +21,7 @@ LUACHECK=luacheck BUSTED=busted +SCANSION=scansion .PHONY: all test coverage clean install @@ -71,6 +72,11 @@ test: $(BUSTED) --lua=$(RUNWITH) +integration-test: all + $(RUNWITH) prosodyctl --config ./spec/scansion/prosody.cfg.lua start + $(SCANSION) -d ./spec/scansion + $(RUNWITH) prosodyctl --config ./spec/scansion/prosody.cfg.lua stop + coverage: -rm -- luacov.* $(BUSTED) --lua=$(RUNWITH) -c