[Avocado-devel] subtests.cfg generation question

Lucas Meneghel Rodrigues lookkas at gmail.com
Fri Oct 9 16:07:51 UTC 2015


Sure, I'll work on it.

On Fri, Oct 9, 2015 at 1:04 PM Andrei Stepanov <astepano at redhat.com> wrote:

> I can give an answer to my question:
>
> subtests.cfg file is generated each time for  `avocado run' command
>
> The function is : create_subtests_cfg(t_type) from
> avocado-vt/virttest/bootstrap.py
>
> No matter what backend is used `subtests.cfg' has all tests from:
> io-github-autotest-qemu/generic/tests
>
> Can I ask you to move:
> io-github-autotest-qemu/qemu/tests/image_copy.py
> io-github-autotest-qemu/qemu/tests/cfg/image_copy.cfg
>
> to  io-github-autotest-qemu/generic/tests  ?
>
> This will allow others test-providers use this test.
>
> Thanks!
>
>
> On Fri, Oct 9, 2015 at 2:49 PM, Andrei Stepanov <astepano at redhat.com>
> wrote:
>
>> vt-bootstrap step generates subtests.cfg
>>
>>
>> ls -lh ./backends/spice/cfg/subtests.cfg ./backends/qemu/cfg/subtests.cfg
>> -rw-r--r--. 1 root root 537K Oct  9 14:08 ./backends/qemu/cfg/subtests.cfg
>> -rw-r--r--. 1 root root  86K Oct  9 09:59
>> ./backends/spice/cfg/subtests.cfg
>>
>>
>> # grep -E  '\.unattended_install|\.image_copy'
>> ./backends/qemu/cfg/subtests.cfg ./backends/spice/cfg/subtests.cfg
>> ./backends/qemu/cfg/subtests.cfg:    -
>> io-github-autotest-qemu.unattended_install:
>> ./backends/qemu/cfg/subtests.cfg:            -
>> io-github-autotest-qemu.image_copy:
>> ./backends/spice/cfg/subtests.cfg:    -
>> io-github-autotest-qemu.unattended_install:
>>
>>
>>
>> Question is:
>>
>> Why does Spice's subtests.cfg have
>> io-github-autotest-qemu.unattended_install?
>> But, doesn't have io-github-autotest-qemu.image_copy ?
>>
>> What is the best way to run "image_copy" (and any other) test from
>> tp-qemu having initialized tp-spice ?
>>
>> Thanks.
>>
>
> _______________________________________________
> Avocado-devel mailing list
> Avocado-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/avocado-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/avocado-devel/attachments/20151009/375cc9d3/attachment.htm>


More information about the Avocado-devel mailing list