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: