[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] iotests: Use configured python
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH] iotests: Use configured python |
Date: |
Thu, 15 May 2014 13:23:19 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
On 05/15/2014 11:35 AM, Markus Armbruster wrote:
>
> The root stupid idea is to run stuff in the source tree. Since a source
> tree can have many build trees, finding the correct build tree can't be
> automated.
>
> If you run stuff in the build tree, there is exactly one source tree,
> and putting a pointer to it in the build tree is trivial. In fact, we
> already have one: try "make -pn | grep ^SRC_PATH".
>
> I'd generate a suitable script into the build tree that sets up
> necessary variables, then sources $SRC_PATH/qemu-iotests/check.
In fact, this is sort of what libvirt does. We have a 'run.in' script
template at the top directory, then create 'run' in the build tree
(whether or not it is a VPATH tree); the run script then primes any
necessary environment variables to execute commands using the build tree
as its preferred location for executables, dynamic libraries, and helper
files.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-devel] [PATCH] iotests: Use configured python, (continued)
- Re: [Qemu-devel] [PATCH] iotests: Use configured python, Max Reitz, 2014/05/14
- Re: [Qemu-devel] [PATCH] iotests: Use configured python, Fam Zheng, 2014/05/14
- Re: [Qemu-devel] [PATCH] iotests: Use configured python, Markus Armbruster, 2014/05/15
- Re: [Qemu-devel] [PATCH] iotests: Use configured python, Markus Armbruster, 2014/05/15
- Re: [Qemu-devel] [PATCH] iotests: Use configured python, Max Reitz, 2014/05/15
- Re: [Qemu-devel] [PATCH] iotests: Use configured python, Peter Maydell, 2014/05/15
- Re: [Qemu-devel] [PATCH] iotests: Use configured python, Max Reitz, 2014/05/15
- Re: [Qemu-devel] [PATCH] iotests: Use configured python, Peter Maydell, 2014/05/15
- Re: [Qemu-devel] [PATCH] iotests: Use configured python, Markus Armbruster, 2014/05/15
- Re: [Qemu-devel] [PATCH] iotests: Use configured python, Max Reitz, 2014/05/15
- Re: [Qemu-devel] [PATCH] iotests: Use configured python,
Eric Blake <=