Files
xen/tools/tests/regression
Wei Liu f9c9b12775 tools: fix "make distclean"
The original rule to target "distclean" in tools/Rules.mk was in effect
"make clean". It should be "make distclean".

However not all Makefiles in subdirectories have distclean target
defined. So this patch also adds a bunch of distclean targets to various
Makefiles. They only depend on clean target and don't have any actions
in most cases.

With the patch applied, following command outputs 0 results:

  find tools -name 'Makefile*' -exec grep -L 'distclean' {} \+ \
     | grep -v ocaml | grep -v libfsimage

Ocaml and libfsimage are known to have distclean defined in a dedicated
rules file.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
2015-01-27 16:34:45 +00:00
..
2015-01-27 16:34:45 +00:00

Regression Test Environment for Xen
-------------------------------------

This is an initial regression tool environment for Xen.

With the help of the Makefile, it is possible to compile a couple of
different python versions and check all .py files against all verions
for syntax errors.  Note that due to the dynmic of python not all
syntax errors might be detected.

Currently the following versions of python are supported:
2.3.7 2.4.6 2.5.4 2.6.2 3.1


Usage
-----

To download all supported versions of python, compile them, install
them and run a basic syntax check, run

$ make

(The download and compilation of python is only done if not already
available.)

To delete all automatically build files:

$ make dist-clean



Runing unittests with a specific version
----------------------------------------

This does not work at the moment, because a lot of additional python
packages are needed for this (which are currently not automatically
build).