]> xenbits.xensource.com Git - xen.git/commitdiff
tools/ocaml: Gate building tests on CONFIG_TESTS
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 7 Oct 2014 11:02:10 +0000 (12:02 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 8 Oct 2014 12:38:23 +0000 (13:38 +0100)
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
CC: David Scott <dave.scott@eu.citrix.com>
CC: Ian Campbell <Ian.Campbell@citrix.com>
CC: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: David Scott <dave.scott@citrix.com>
tools/ocaml/Makefile

index 8e4ca368b0dc7e5eef39a352819db6ea08b162cf..5710a5fee0e1d532f632c7f70104aa3792be1c61 100644 (file)
@@ -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