Re: [Avocado-devel] New questions

2016-09-14 Thread Marcos E. Matsunaga
On 14/09/16 17:40, Lukáš Doktor wrote: Dne 14.9.2016 v 13:32 Marcos E. Matsunaga napsal(a): Hi Folks, Hello Marcos I have some questions about how avocado works. 1. If I run avocado and give it a directory that has all tests. Is there a way to specify the order of execution? I mean, if I

Re: [Avocado-devel] option --output-check-record behavior

2016-09-14 Thread Marcos E. Matsunaga
I filed a bug (I hope it is in the right place). https://github.com/avocado-framework/avocado-vt/issues/701 Thanks On 14/09/16 17:44, Lukáš Doktor wrote: Dne 9.9.2016 v 23:30 Lucas Meneghel Rodrigues napsal(a): On Fri, Sep 9, 2016 at 8:14 AM Marcos E. Matsunaga mailto:marcos.matsun

Re: [Avocado-devel] New questions

2016-09-14 Thread Marcos E. Matsunaga
Hi Lucas, Thanks for your answers. I have some comments below. And forgive me if I am repeating something. On 14/09/16 16:59, Lucas Meneghel Rodrigues wrote: On Wed, Sep 14, 2016 at 8:32 AM Marcos E. Matsunaga mailto:marcos.matsun...@oracle.com>> wrote: Hi Folks, I hav

[Avocado-devel] New questions

2016-09-14 Thread Marcos E. Matsunaga
Hi Folks, I have some questions about how avocado works. 1. If I run avocado and give it a directory that has all tests. Is there a way to specify the order of execution? I mean, if I name the files 001-xxx.py, 010-aa.py, will it execute 001-xxx.py before 010-aa.py or it doesn't follow an alp

Re: [Avocado-devel] option --output-check-record behavior

2016-09-09 Thread Marcos E. Matsunaga
nt('Xen Version = %s.\n' % xenversion) fd.write('Xen Version = %s.\n' % xenversion) fd.write('### %s\n' % time.time()) if self.exec_xl() == "0": pass else: r

Re: [Avocado-devel] option --output-check-record behavior

2016-09-08 Thread Marcos E. Matsunaga
Thanks Amador, I assumed it would have the same behavior as utils.system and completely ignored the pipe. On 09/08/2016 07:39 PM, Amador Segundo wrote: On Sep 8, 2016 8:19 PM, "Marcos E. Matsunaga" mailto:marcos.matsun...@oracle.com>> wrote: > > Hi Cleber, >

Re: [Avocado-devel] option --output-check-record behavior

2016-09-08 Thread Marcos E. Matsunaga
ep xen_version| awk '{print $3}'' failed (rc=1) I looked at "/usr/lib/python2.7/site-packages/avocado/utils/process.py", line 1139 and didn't see anything that could be causing the problem. I even tried to add "sudo=False" argument in process.system, bu

Re: [Avocado-devel] option --output-check-record behavior

2016-09-08 Thread Marcos E. Matsunaga
On 09/08/2016 05:44 PM, Cleber Rosa wrote: On 09/08/2016 11:34 AM, Marcos E. Matsunaga wrote: Hi Cleber, Thanks for your quick reply. That's exactly what I understood, but here is what is happening I have a directory ~/avocado/xen/tests where I have the xentest.py script. When I execu

Re: [Avocado-devel] option --output-check-record behavior

2016-09-08 Thread Marcos E. Matsunaga
7;s why I think I am missing something. Thanks again for your help. On 09/08/2016 02:59 PM, Cleber Rosa wrote: On 09/08/2016 10:25 AM, Marcos E. Matsunaga wrote: Hi All, I am new to avocado and have just started to look into it. I have been playing with avocado on Fedora 24 for a few weeks. I

[Avocado-devel] option --output-check-record behavior

2016-09-08 Thread Marcos E. Matsunaga
Hi All, I am new to avocado and have just started to look into it. I have been playing with avocado on Fedora 24 for a few weeks. I wrote a small script to run commands and was exploring the option "--output-check-record", but it never populate the files stderr.expected and stdout.expected. I