From: Andrew Cooper Subject: [PATCH for-4.5 4/4] tools/ocaml: Gate building tests on CONFIG_TESTS Date: Tue, 7 Oct 2014 12:02:10 +0100 Message-ID: <1412679730-17475-5-git-send-email-andrew.cooper3@citrix.com> References: <1412679730-17475-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1412679730-17475-1-git-send-email-andrew.cooper3@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Xen-devel Cc: Wei Liu , Ian Campbell , Andrew Cooper , Ian Jackson , David Scott List-Id: xen-devel@lists.xenproject.org Signed-off-by: Andrew Cooper CC: David Scott CC: Ian Campbell CC: Ian Jackson CC: Wei Liu --- tools/ocaml/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/ocaml/Makefile b/tools/ocaml/Makefile index 8e4ca36..5710a5f 100644 --- a/tools/ocaml/Makefile +++ b/tools/ocaml/Makefile @@ -1,9 +1,12 @@ XEN_ROOT = $(CURDIR)/../.. include $(XEN_ROOT)/tools/Rules.mk -SUBDIRS_PROGRAMS = xenstored test +SUBDIRS := libs +SUBDIRS += xenstored -SUBDIRS = libs $(SUBDIRS_PROGRAMS) +ifeq ($(CONFIG_TESTS),y) +SUBDIRS += test +endif .NOTPARALLEL: # targets here must be run in order, otherwise we can try -- 1.7.10.4