ia64/xen-unstable

view tools/Makefile @ 6385:f34e732ed4bf

Xenstore testsuite robustness: save output rather than rerun on failure.
"make check" reruns a test which fails with more verbosity. If the test
fails intermittently, that doesn't work well: save the output and simply
dump it if the test fails.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Tue Aug 23 19:58:59 2005 +0000 (2005-08-23)
parents 522bc50588ed
children 8799d14bef77 9312a3e8a6f8 cc5f88b719d0 fa0754a9f64f 112d44270733
line source
1 XEN_ROOT = ../
2 include $(XEN_ROOT)/tools/Rules.mk
4 SUBDIRS :=
5 SUBDIRS += libxc
6 SUBDIRS += xenstore
7 SUBDIRS += misc
8 SUBDIRS += examples
9 SUBDIRS += xentrace
10 SUBDIRS += python
11 SUBDIRS += xcs
12 SUBDIRS += xcutils
13 #SUBDIRS += pygrub
14 SUBDIRS += firmware
15 SUBDIRS += security
16 SUBDIRS += console
17 SUBDIRS += xenstat
19 .PHONY: all install clean check check_clean ioemu eioemuinstall ioemuclean
21 all: check
22 @set -e; for subdir in $(SUBDIRS); do \
23 $(MAKE) -C $$subdir $@; \
24 done
25 $(MAKE) ioemu
27 install: check
28 @set -e; for subdir in $(SUBDIRS); do \
29 $(MAKE) -C $$subdir $@; \
30 done
31 $(MAKE) ioemuinstall
33 clean: check_clean
34 @set -e; for subdir in $(SUBDIRS); do \
35 $(MAKE) -C $$subdir $@; \
36 done
37 $(MAKE) ioemuclean
39 check:
40 $(MAKE) -C check
42 check_clean:
43 $(MAKE) -C check clean
45 ifndef XEN_NO_IOEMU
46 ioemu ioemuinstall ioemuclean:
47 [ -f ioemu/config-host.h ] || \
48 (cd ioemu; ./configure --prefix=usr)
49 $(MAKE) -C ioemu $(patsubst ioemu%,%,$@)
50 else
51 ioemu ioemuinstall ioemuclean:
52 endif