Changeset

9779:0b04099b49de

GNUmakefile: Add target for running scansion
author Kim Alvefur <zash@zash.se>
date Thu, 10 Jan 2019 14:27:01 +0100
parents 9778:ce5b2a149575
children 9780:c7727c13260f
files GNUmakefile
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
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