Software /
code /
prosody
Diff
GNUmakefile @ 9779:0b04099b49de
GNUmakefile: Add target for running scansion
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 10 Jan 2019 14:27:01 +0100 |
parent | 9429:5f51710d7c1e |
child | 9807:dcc85d72d5b3 |
line wrap: on
line diff
--- 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