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
Ewan Mellor 2db8f7202c Tidy up.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-14 17:25:38 +00:00
kfraser@localhost.localdomain 23496e5afb [TOOLS] A couple of check-script cleanups.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-12-14 15:12:38 +00:00
kfraser@localhost.localdomain 96134532ec Add another package check (python-xml).
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2006-12-14 14:13:18 +00:00