[Libguestfs] [PATCH 7/7] python: fix test runner so scripts are found when building out-of-tree

Richard W.M. Jones rjones at redhat.com
Mon Jan 13 13:24:27 UTC 2014


On Sat, Jan 11, 2014 at 12:12:52AM +0100, Hilko Bengen wrote:
> ---
>  python/run-python-tests.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/python/run-python-tests.in b/python/run-python-tests.in
> index 90aee03..0df646b 100755
> --- a/python/run-python-tests.in
> +++ b/python/run-python-tests.in
> @@ -19,7 +19,7 @@
>  set -e
>  shopt -s nullglob
>  
> -for f in @srcdir at t/*.py; do
> +for f in @srcdir@/t/*.py; do
>    basename "$f"
>    $PYTHON "$f"
>  done
> -- 
> 1.8.5.2

ACK (because @srcdir@ always expands to something, usually '.').

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list