diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/Makefile.am | 5 | ||||
-rwxr-xr-x | python/run-bindtests | 4 | ||||
-rwxr-xr-x | python/run-python-tests | 4 |
3 files changed, 7 insertions, 6 deletions
diff --git a/python/Makefile.am b/python/Makefile.am index 82960d6b..2f543e7b 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -1,5 +1,5 @@ # libguestfs Python bindings -# Copyright (C) 2009 Red Hat Inc. +# Copyright (C) 2009-2011 Red Hat Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -48,7 +48,8 @@ libguestfsmod_la_LDFLAGS = -avoid-version -shared TESTS_ENVIRONMENT = \ LIBGUESTFS_PATH=$(top_builddir)/appliance \ PYTHONPATH=$(builddir):$(builddir)/.libs \ - TMPDIR=$(top_builddir) + TMPDIR=$(top_builddir) \ + PYTHON=$(PYTHON) TESTS = run-bindtests run-python-tests diff --git a/python/run-bindtests b/python/run-bindtests index 08a24e6f..cf28bb6b 100755 --- a/python/run-bindtests +++ b/python/run-bindtests @@ -1,6 +1,6 @@ #!/bin/sh - # libguestfs Perl bindings -# Copyright (C) 2009 Red Hat Inc. +# Copyright (C) 2009-2011 Red Hat Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,5 +18,5 @@ set -e -python ${srcdir}/bindtests.py > bindtests.tmp +$PYTHON ${srcdir}/bindtests.py > bindtests.tmp diff -u ${srcdir}/../bindtests bindtests.tmp diff --git a/python/run-python-tests b/python/run-python-tests index 487f8ab1..f82dc101 100755 --- a/python/run-python-tests +++ b/python/run-python-tests @@ -1,6 +1,6 @@ #!/bin/sh - # libguestfs Perl bindings -# Copyright (C) 2009 Red Hat Inc. +# Copyright (C) 2009-2011 Red Hat Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -19,5 +19,5 @@ set -e for f in t/*.py; do - python $f + $PYTHON $f done |