test / restconf /vagrant fixes
This commit is contained in:
parent
87d9b7776e
commit
ae8e287dd9
4 changed files with 22 additions and 18 deletions
|
|
@ -45,9 +45,11 @@ SHELL = /bin/sh
|
|||
# The "site.mk" file if it exists and define the VAGRANTS variables
|
||||
# eg:
|
||||
# VAGRANTS += freebsd/FreeBSD-12.1-STABLE
|
||||
|
||||
VAGRANTS =
|
||||
|
||||
# evhtp or fcgi
|
||||
RESTCONF=evhtp
|
||||
|
||||
-include site.mk
|
||||
|
||||
.PHONY: all clean distclean depend install uninstall $(VAGRANTS) destroy
|
||||
|
|
@ -61,9 +63,9 @@ logs:
|
|||
# appear eg as generic/centos8.log
|
||||
$(VAGRANTS): logs
|
||||
ifdef LOGDIR
|
||||
./vagrant.sh $@ 2>&1 > "$(LOGDIR)/$(subst /,-,$@).log"
|
||||
with_restconf=$(RESTCONF) ./vagrant.sh $@ 2>&1 > "$(LOGDIR)/$(subst /,-,$@).$(RESTCONF).log"
|
||||
else
|
||||
./vagrant.sh $@ 2>&1 | tee "logs/$(subst /,-,$@).log"
|
||||
with_restconf=$(RESTCONF) ./vagrant.sh $@ 2>&1 | tee "logs/$(subst /,-,$@).$(RESTCONF).log"
|
||||
endif
|
||||
|
||||
destroy:
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
# 3. Compile and install clixon
|
||||
# 4. Run tests
|
||||
# Example run: ./vagrant.sh generic/centos8 2>&1 | tee cilog
|
||||
# Default runs evhtp (not fcgi)
|
||||
|
||||
set -eux #
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue