[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Tools: build tests
# HG changeset patch # User Andres Lagar-Cavilla <andres@xxxxxxxxxxxxxxxx> # Date 1328562778 28800 # Node ID ac757b64ff06c81cd161be07c367f67a019e5b93 # Parent f665817959942bf1e149e65597187c02d563f83b 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@xxxxxxxxxxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> Committed-by: Keir Fraser <keir@xxxxxxx> --- diff -r f66581795994 -r ac757b64ff06 Config.mk --- a/Config.mk Mon Feb 06 05:08:03 2012 -0800 +++ b/Config.mk Mon Feb 06 13:12:58 2012 -0800 @@ -243,6 +243,7 @@ CONFIG_MINITERM ?= n CONFIG_LOMOUNT ?= n CONFIG_SYSTEM_LIBAIO ?= y +CONFIG_TESTS ?= y ifeq ($(OCAML_TOOLS),y) OCAML_TOOLS := $(shell ocamlopt -v > /dev/null 2>&1 && echo "y" || echo "n") diff -r f66581795994 -r ac757b64ff06 tools/Makefile --- a/tools/Makefile Mon Feb 06 05:08:03 2012 -0800 +++ b/tools/Makefile Mon Feb 06 13:12:58 2012 -0800 @@ -45,6 +45,7 @@ SUBDIRS-$(CONFIG_X86) += xenpaging SUBDIRS-$(CONFIG_X86) += debugger/gdbsx SUBDIRS-$(CONFIG_X86) += debugger/kdd +SUBDIRS-$(CONFIG_TESTS) += tests # These don't cross-compile ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH)) diff -r f66581795994 -r ac757b64ff06 tools/tests/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/tests/Makefile Mon Feb 06 13:12:58 2012 -0800 @@ -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: _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |