aboutsummaryrefslogtreecommitdiffstats
path: root/tools/tests
diff options
context:
space:
mode:
authorAndres Lagar-Cavilla <andres@lagarcavilla.org>2012-02-06 13:12:58 -0800
committerAndres Lagar-Cavilla <andres@lagarcavilla.org>2012-02-06 13:12:58 -0800
commit953953cc5aaf59876521db5f60c010615941c0c7 (patch)
tree832080422e085c4b997269b943df0b43a3ee06eb /tools/tests
parent1f46c58d451cd1368307f4e0eea25044a0bd71fc (diff)
downloadxen-953953cc5aaf59876521db5f60c010615941c0c7.tar.gz
xen-953953cc5aaf59876521db5f60c010615941c0c7.tar.bz2
xen-953953cc5aaf59876521db5f60c010615941c0c7.zip
Tools: build tests
Build tests as part of the tools build. It is enabled with CONFIG_TESTS in Config.mk Currently disabled build of tests/regressions and tests/xen-access (in 32-bit mode) as they fail. Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'tools/tests')
-rw-r--r--tools/tests/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/tests/Makefile b/tools/tests/Makefile
new file mode 100644
index 0000000000..f4f1169229
--- /dev/null
+++ b/tools/tests/Makefile
@@ -0,0 +1,21 @@
+XEN_ROOT = $(CURDIR)/../..
+include $(XEN_ROOT)/tools/Rules.mk
+
+CFLAGS += $(CFLAGS_libxenctrl)
+LDLIBS += $(LDLIBS_libxenctrl)
+
+SUBDIRS-y :=
+SUBDIRS-y += mce-test
+SUBDIRS-y += mem-sharing
+ifeq ($(XEN_TARGET_ARCH),__fixme__)
+SUBDIRS-y += regression
+endif
+SUBDIRS-y += x86_emulator
+ifneq ($(XEN_TARGET_ARCH),x86_32)
+SUBDIRS-y += xen-access
+endif
+
+.PHONY: all clean install distclean
+all clean distclean: %: subdirs-%
+
+install: