Commit Graph
8 Commits
Author SHA1 Message Date
Keir Fraser 0afa130b1f tools/check: We do need a default for ${PYTHON} as called from
install.sh with PYTHON possibly undefined in the environment.

So we make PYTHON=python the sensible default.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
2009-07-15 15:33:05 +01:00
Keir Fraser c8d0c0aba3 tools/check: No need to check for ${PYTHON} existence.
It must exist as otherwise the build will fail since we reference
$(PYTHON) all over the place. Furthermore the fallback of
'/usr/bin/env python' actually runs Python, it doesn't get the path to
it. So that wouldn't work very well.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
2009-07-15 14:53:01 +01:00
Keir Fraser df65440f41 Make python check scripts use of $(PYTHON) make variable.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
2009-07-09 17:05:07 +01:00
Keir Fraser d352a2fb4d tools/check: Add explicit include path for funcs.sh.
When the current directory is not in $PATH,
then the patch fixes the following errors:

Checking check_brctl: .: funcs.sh: not found
Checking check_crypto_lib: .: funcs.sh: not found
Checking check_curl: .: funcs.sh: not found
Checking check_iproute: .: funcs.sh: not found
Checking check_python: .: funcs.sh: not found
Checking check_python_xml: .: funcs.sh: not found
Checking check_udev: .: funcs.sh: not found
Checking check_xml2: .: funcs.sh: not found
Checking check_zlib_lib: .: funcs.sh: not found

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
2008-01-23 11:21:35 +00:00
Keir Fraser b7d7bde935 Make tools/check scripts cross-friendly
This patch introduces tools/check/funcs.sh with some
cross-friendly abstractions, then modifies the check_*
scripts to use them.

Signed-off-by: Aron Griffis <aron@hp.com>
2008-01-22 09:44:17 +00:00
kfraser@localhost.localdomain d746429dbb Remove unused function from check script.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-12-15 09:17:41 +00:00
kfraser@localhost.localdomain a0bf728f15 [TOOLS] Fix check-script compatibility with non-bash shells.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-12-14 16:00:31 +00:00
kfraser@localhost.localdomain d8bd52ce0d [TOOLS] Check for python-devel.
Thanks to Ewan Mellor, Anthony Liguori, and Daniel P. Berrange for
pointing out problems with and solutions for the problems with the
first version.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2006-11-22 10:30:05 +00:00