From: Andrew Cooper Date: Tue, 7 Oct 2014 11:02:10 +0000 (+0100) Subject: tools/ocaml: Gate building tests on CONFIG_TESTS X-Git-Tag: 4.5.0-rc1~55 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=dc2bf9d2f867ea3e22e5b3badc45d16069bd48a3;p=xen.git tools/ocaml: Gate building tests on CONFIG_TESTS Signed-off-by: Andrew Cooper CC: David Scott CC: Ian Campbell CC: Ian Jackson CC: Wei Liu Acked-by: Ian Campbell Acked-by: David Scott --- diff --git a/tools/ocaml/Makefile b/tools/ocaml/Makefile index 8e4ca368b0..5710a5fee0 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