Il 24/01/2014 17:48, Lucas Meneghel Rodrigues ha scritto:
On 01/24/2014 02:42 PM, Paolo Bonzini wrote:
Il 09/01/2014 03:53, Lucas Meneghel Rodrigues ha scritto:

 virt-test will have a subdirectory 'test-providers.d' that contains
definition
 files, which are .ini files that encode information from a test
provider. Here's
 an example structure of a test provider file:

Weren't .d directories kinda obsoleted?

Also, I know I'm late, but would it be possible to use git submodules
instead?

We did consider submodules, but we wanted a solution a bit more
flexible. For example, if people want to put virt-tests on a random
subdir of qemu.git, that would be possible with test providers, and it'd
be very awkward with only submodules.

Can you explain this more?  I'm intrigued. :)

Hypothetically, the two files currently in test-providers.d would be
replaced by a .gitmodules file like this one:

[submodule "qemu"]
     path = test-providers/qemu
     url = https://github.com/autotest/tp-qemu.git
     subdirs = generic/ qemu/ openvswitch/

^ I did not know git submodules supported subdirs.

They don't, but you can add arbitrary keys to the .gitmodules file.

I believe it is fine using git submodules + test providers, should the
need arise.

Is there documentation for how to "initialize" the provider repositories? Will "./run -t qemu" do just that?

Paolo

_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel

Reply via email to