Added make test and travis experiment

This commit is contained in:
Olof hagsand 2019-02-04 14:13:20 +01:00
parent 14343810ca
commit 10d841f4be
8 changed files with 21 additions and 3 deletions

View file

@ -54,7 +54,7 @@ SHELL = /bin/sh
SUBDIRS = lib apps include etc datastore util yang
.PHONY: doc all clean depend $(SUBDIRS) install loc TAGS .config.status docker
.PHONY: doc all clean depend $(SUBDIRS) install loc TAGS .config.status docker test
all: $(SUBDIRS)
@ -138,6 +138,9 @@ pkg-rpm: dist
pkg-srpm: dist
make -C extras/rpm srpm
test: install-include
(cd $@ && $(MAKE) $(MFLAGS) all)
docker:
for i in docker; \
do (cd $$i && $(MAKE) $(MFLAGS) $@); done