equal
deleted
inserted
replaced
73 $(MAKE) clean -C util-src |
73 $(MAKE) clean -C util-src |
74 |
74 |
75 test: |
75 test: |
76 $(BUSTED) --lua=$(RUNWITH) |
76 $(BUSTED) --lua=$(RUNWITH) |
77 |
77 |
|
78 test-%: |
|
79 $(BUSTED) --lua=$(RUNWITH) -r $* |
|
80 |
78 integration-test: all |
81 integration-test: all |
79 $(MKDIR) data |
82 $(MKDIR) data |
80 $(RUNWITH) prosodyctl --config ./spec/scansion/prosody.cfg.lua start |
83 $(RUNWITH) prosodyctl --config ./spec/scansion/prosody.cfg.lua start |
81 $(SCANSION) -d ./spec/scansion; R=$$? \ |
84 $(SCANSION) -d ./spec/scansion; R=$$? \ |
|
85 $(RUNWITH) prosodyctl --config ./spec/scansion/prosody.cfg.lua stop \ |
|
86 exit $$R |
|
87 |
|
88 integration-test-%: all |
|
89 $(MKDIR) data |
|
90 $(RUNWITH) prosodyctl --config ./spec/scansion/prosody.cfg.lua start |
|
91 $(SCANSION) ./spec/scansion/$*.scs; R=$$? \ |
82 $(RUNWITH) prosodyctl --config ./spec/scansion/prosody.cfg.lua stop \ |
92 $(RUNWITH) prosodyctl --config ./spec/scansion/prosody.cfg.lua stop \ |
83 exit $$R |
93 exit $$R |
84 |
94 |
85 coverage: |
95 coverage: |
86 -rm -- luacov.* |
96 -rm -- luacov.* |