python: Pass $PYTHON environment variable to tests.
[libguestfs.git] / python / run-python-tests
index 487f8ab..f82dc10 100755 (executable)
@@ -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