Re: [Qemu-devel] [PATCH v4 1/3] Bootstrap Python venv for tests

2018-10-16 Thread Philippe Mathieu-Daudé
On 16/10/2018 15:56, Cleber Rosa wrote: > On 10/15/18 6:28 PM, Philippe Mathieu-Daudé wrote: >> Hi Caio, >> >> On 15/10/2018 20:41, Caio Carrara wrote: >>> On 13-10-2018 00:37, Eduardo Habkost wrote: On Fri, Oct 12, 2018 at 11:30:39PM +0200, Philippe Mathieu-Daudé wrote: > Hi Cleber, >

Re: [Qemu-devel] [PATCH v4 1/3] Bootstrap Python venv for tests

2018-10-16 Thread Philippe Mathieu-Daudé
On 16/10/2018 15:50, Cleber Rosa wrote: > On 10/12/18 11:37 PM, Eduardo Habkost wrote: >> On Fri, Oct 12, 2018 at 11:30:39PM +0200, Philippe Mathieu-Daudé wrote: >>> Hi Cleber, >>> >>> On 12/10/2018 18:53, Cleber Rosa wrote: A number of QEMU tests are written in Python, and may benefit f

Re: [Qemu-devel] [PATCH v4 1/3] Bootstrap Python venv for tests

2018-10-16 Thread Cleber Rosa
On 10/16/18 10:20 AM, Philippe Mathieu-Daudé wrote: >> >> This is possible with: >> >> #!/usr/bin/env python >> >> from avocado import main >> >> [test] >> >> if __name__ == "__main__": >> main() > > >> But is it really worth it? IMO, it's not. >> > > If that seamlessly uses the venv, I

Re: [Qemu-devel] [PATCH v4 1/3] Bootstrap Python venv for tests

2018-10-16 Thread Philippe Mathieu-Daudé
Le mar. 16 oct. 2018 16:08, Cleber Rosa a écrit : > > > On 10/15/18 6:40 PM, Eduardo Habkost wrote: > > On Tue, Oct 16, 2018 at 12:28:07AM +0200, Philippe Mathieu-Daudé wrote: > >> Hi Caio, > >> > >> On 15/10/2018 20:41, Caio Carrara wrote: > >>> On 13-10-2018 00:37, Eduardo Habkost wrote: >

Re: [Qemu-devel] [PATCH v4 1/3] Bootstrap Python venv for tests

2018-10-16 Thread Cleber Rosa
On 10/15/18 6:22 PM, Philippe Mathieu-Daudé wrote: > On 15/10/2018 21:04, Caio Carrara wrote: >> On 12-10-2018 13:53, Cleber Rosa wrote: >>> A number of QEMU tests are written in Python, and may benefit >>> from an untainted Python venv. >>> >>> By using make rules, tests that depend on specific

Re: [Qemu-devel] [PATCH v4 1/3] Bootstrap Python venv for tests

2018-10-16 Thread Cleber Rosa
On 10/15/18 3:04 PM, Caio Carrara wrote: > On 12-10-2018 13:53, Cleber Rosa wrote: >> A number of QEMU tests are written in Python, and may benefit >> from an untainted Python venv. >> >> By using make rules, tests that depend on specific Python libs >> can set that rule as a requirement, along

Re: [Qemu-devel] [PATCH v4 1/3] Bootstrap Python venv for tests

2018-10-16 Thread Cleber Rosa
On 10/15/18 6:40 PM, Eduardo Habkost wrote: > On Tue, Oct 16, 2018 at 12:28:07AM +0200, Philippe Mathieu-Daudé wrote: >> Hi Caio, >> >> On 15/10/2018 20:41, Caio Carrara wrote: >>> On 13-10-2018 00:37, Eduardo Habkost wrote: On Fri, Oct 12, 2018 at 11:30:39PM +0200, Philippe Mathieu-Daudé w

Re: [Qemu-devel] [PATCH v4 1/3] Bootstrap Python venv for tests

2018-10-16 Thread Cleber Rosa
On 10/15/18 6:28 PM, Philippe Mathieu-Daudé wrote: > Hi Caio, > > On 15/10/2018 20:41, Caio Carrara wrote: >> On 13-10-2018 00:37, Eduardo Habkost wrote: >>> On Fri, Oct 12, 2018 at 11:30:39PM +0200, Philippe Mathieu-Daudé wrote: Hi Cleber, On 12/10/2018 18:53, Cleber Rosa wrote:

Re: [Qemu-devel] [PATCH v4 1/3] Bootstrap Python venv for tests

2018-10-16 Thread Cleber Rosa
On 10/12/18 11:37 PM, Eduardo Habkost wrote: > On Fri, Oct 12, 2018 at 11:30:39PM +0200, Philippe Mathieu-Daudé wrote: >> Hi Cleber, >> >> On 12/10/2018 18:53, Cleber Rosa wrote: >>> A number of QEMU tests are written in Python, and may benefit >>> from an untainted Python venv. >>> >>> By using

Re: [Qemu-devel] [PATCH v4 1/3] Bootstrap Python venv for tests

2018-10-16 Thread Cleber Rosa
On 10/15/18 2:41 PM, Caio Carrara wrote: > On 13-10-2018 00:37, Eduardo Habkost wrote: >> On Fri, Oct 12, 2018 at 11:30:39PM +0200, Philippe Mathieu-Daudé wrote: >>> Hi Cleber, >>> >>> On 12/10/2018 18:53, Cleber Rosa wrote: A number of QEMU tests are written in Python, and may benefit

Re: [Qemu-devel] [PATCH v4 1/3] Bootstrap Python venv for tests

2018-10-15 Thread Eduardo Habkost
On Tue, Oct 16, 2018 at 12:28:07AM +0200, Philippe Mathieu-Daudé wrote: > Hi Caio, > > On 15/10/2018 20:41, Caio Carrara wrote: > > On 13-10-2018 00:37, Eduardo Habkost wrote: > >> On Fri, Oct 12, 2018 at 11:30:39PM +0200, Philippe Mathieu-Daudé wrote: > >>> Hi Cleber, > >>> > >>> On 12/10/2018 18

Re: [Qemu-devel] [PATCH v4 1/3] Bootstrap Python venv for tests

2018-10-15 Thread Philippe Mathieu-Daudé
Hi Caio, On 15/10/2018 20:41, Caio Carrara wrote: > On 13-10-2018 00:37, Eduardo Habkost wrote: >> On Fri, Oct 12, 2018 at 11:30:39PM +0200, Philippe Mathieu-Daudé wrote: >>> Hi Cleber, >>> >>> On 12/10/2018 18:53, Cleber Rosa wrote: A number of QEMU tests are written in Python, and may benef

Re: [Qemu-devel] [PATCH v4 1/3] Bootstrap Python venv for tests

2018-10-15 Thread Philippe Mathieu-Daudé
On 15/10/2018 21:04, Caio Carrara wrote: > On 12-10-2018 13:53, Cleber Rosa wrote: >> A number of QEMU tests are written in Python, and may benefit >> from an untainted Python venv. >> >> By using make rules, tests that depend on specific Python libs >> can set that rule as a requirement, along wit

Re: [Qemu-devel] [PATCH v4 1/3] Bootstrap Python venv for tests

2018-10-15 Thread Caio Carrara
On 12-10-2018 13:53, Cleber Rosa wrote: > A number of QEMU tests are written in Python, and may benefit > from an untainted Python venv. > > By using make rules, tests that depend on specific Python libs > can set that rule as a requirement, along with rules that require > the presence or installa

Re: [Qemu-devel] [PATCH v4 1/3] Bootstrap Python venv for tests

2018-10-15 Thread Caio Carrara
On 13-10-2018 00:37, Eduardo Habkost wrote: > On Fri, Oct 12, 2018 at 11:30:39PM +0200, Philippe Mathieu-Daudé wrote: >> Hi Cleber, >> >> On 12/10/2018 18:53, Cleber Rosa wrote: >>> A number of QEMU tests are written in Python, and may benefit >>> from an untainted Python venv. >>> >>> By using mak

Re: [Qemu-devel] [PATCH v4 1/3] Bootstrap Python venv for tests

2018-10-12 Thread Eduardo Habkost
On Fri, Oct 12, 2018 at 11:30:39PM +0200, Philippe Mathieu-Daudé wrote: > Hi Cleber, > > On 12/10/2018 18:53, Cleber Rosa wrote: > > A number of QEMU tests are written in Python, and may benefit > > from an untainted Python venv. > > > > By using make rules, tests that depend on specific Python l

Re: [Qemu-devel] [PATCH v4 1/3] Bootstrap Python venv for tests

2018-10-12 Thread Philippe Mathieu-Daudé
Hi Cleber, On 12/10/2018 18:53, Cleber Rosa wrote: > A number of QEMU tests are written in Python, and may benefit > from an untainted Python venv. > > By using make rules, tests that depend on specific Python libs > can set that rule as a requirement, along with rules that require > the presence

[Qemu-devel] [PATCH v4 1/3] Bootstrap Python venv for tests

2018-10-12 Thread Cleber Rosa
A number of QEMU tests are written in Python, and may benefit from an untainted Python venv. By using make rules, tests that depend on specific Python libs can set that rule as a requirement, along with rules that require the presence or installation of specific libraries. The tests/venv-requirem