mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
GNUmakefile: Stop Prosody in case of failure in integration-test
Normally make skips the remaning steps in the rule if one fails. This collects the status code and re-returns it after stopping the running Prosody instance.
This commit is contained in:
parent
2748b1f5ec
commit
df36d51cd7
1 changed files with 3 additions and 2 deletions
|
@ -74,8 +74,9 @@ test:
|
|||
|
||||
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
|
||||
$(SCANSION) -d ./spec/scansion; R=$$? \
|
||||
$(RUNWITH) prosodyctl --config ./spec/scansion/prosody.cfg.lua stop \
|
||||
exit $$R
|
||||
|
||||
coverage:
|
||||
-rm -- luacov.*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue