From 27e6511f35e03a4df497fb4ea00cff98ce34f752 Mon Sep 17 00:00:00 2001 From: Olof hagsand Date: Mon, 4 Feb 2019 14:59:07 +0100 Subject: [PATCH] travis build example --- Makefile.in | 7 +++++-- test/Makefile.in | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index 0c8c8203..21305ee1 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 test +.PHONY: doc example all clean depend $(SUBDIRS) install loc TAGS .config.status docker test all: $(SUBDIRS) @@ -138,7 +138,10 @@ pkg-rpm: dist pkg-srpm: dist make -C extras/rpm srpm -test: install-include +example: + (cd $@ && $(MAKE) $(MFLAGS) all) + +test: example (cd $@ && $(MAKE) $(MFLAGS) all) docker: diff --git a/test/Makefile.in b/test/Makefile.in index e8e9b60e..8be570f3 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -43,7 +43,8 @@ SHELL = /bin/sh .PHONY: all clean distclean depend install uninstall all: - ./all.sh + ./test_choice.sh +# ./all.sh clean: